removed public getter for exception mapper
This commit is contained in:
@@ -189,6 +189,14 @@ public class GatewayProxyFactoryBean extends AbstractEndpoint implements Trackab
|
||||
this.typeConverter = typeConverter;
|
||||
}
|
||||
|
||||
public void setMethodMetadataMap(Map<String, GatewayMethodMetadata> methodMetadataMap) {
|
||||
this.methodMetadataMap = methodMetadataMap;
|
||||
}
|
||||
|
||||
public void setExceptionMapper(InboundMessageMapper<Throwable> exceptionMapper) {
|
||||
this.exceptionMapper = exceptionMapper;
|
||||
}
|
||||
|
||||
public void setBeanClassLoader(ClassLoader beanClassLoader) {
|
||||
this.beanClassLoader = beanClassLoader;
|
||||
}
|
||||
@@ -396,18 +404,6 @@ public class GatewayProxyFactoryBean extends AbstractEndpoint implements Trackab
|
||||
gateway.stop();
|
||||
}
|
||||
}
|
||||
|
||||
public void setMethodMetadataMap(Map<String, GatewayMethodMetadata> methodMetadataMap) {
|
||||
this.methodMetadataMap = methodMetadataMap;
|
||||
}
|
||||
|
||||
public InboundMessageMapper<Throwable> getExceptionMapper() {
|
||||
return exceptionMapper;
|
||||
}
|
||||
|
||||
public void setExceptionMapper(InboundMessageMapper<Throwable> exceptionMapper) {
|
||||
this.exceptionMapper = exceptionMapper;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private <T> T convert(Object source, Class<T> expectedReturnType) {
|
||||
|
||||
Reference in New Issue
Block a user