Skip to content

Remove deprecated code in EndpointDiscoverer #24317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -240,17 +240,6 @@ private boolean isExtensionExposed(EndpointBean endpointBean, ExtensionBean exte
&& isExtensionTypeExposed(extensionBean.getBeanType());
}

/**
* Determine if an extension bean should be exposed. Subclasses can override this
* method to provide additional logic.
* @param extensionBean the extension bean
* @return {@code true} if the extension is exposed
*/
@Deprecated
protected boolean isExtensionExposed(Object extensionBean) {
return true;
}

/**
* Determine if an extension bean should be exposed. Subclasses can override this
* method to provide additional logic.
Expand All @@ -263,18 +252,7 @@ protected boolean isExtensionTypeExposed(Class<?> extensionBeanType) {

private boolean isEndpointExposed(EndpointBean endpointBean) {
return isFilterMatch(endpointBean.getFilter(), endpointBean) && !isEndpointFiltered(endpointBean)
&& isEndpointExposed(endpointBean.getBean());
}

/**
* Determine if an endpoint bean should be exposed. Subclasses can override this
* method to provide additional logic.
* @param endpointBean the endpoint bean
* @return {@code true} if the endpoint is exposed
*/
@Deprecated
protected boolean isEndpointExposed(Object endpointBean) {
return true;
&& isEndpointTypeExposed(endpointBean.getBeanType());
}

/**
Expand Down