removed public getter for exception mapper

This commit is contained in:
Mark Fisher
2010-11-14 21:36:04 -05:00
parent 03a8bc59fd
commit 860de3bf1d

View File

@@ -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) {