Minimizing class loading in parsers and using the parser context error handling capabilities rather than throwing Exceptions or using assertions. This facilitates proper tooling support (INT-114).

This commit is contained in:
Mark Fisher
2008-12-11 19:33:43 +00:00
parent c296b1af1b
commit e55aee06ce
3 changed files with 4 additions and 12 deletions

View File

@@ -20,7 +20,6 @@ import org.w3c.dom.Element;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
import org.springframework.integration.adapter.config.AbstractRemotingGatewayParser;
import org.springframework.integration.rmi.RmiInboundGateway;
import org.springframework.util.StringUtils;
/**
@@ -34,8 +33,8 @@ public class RmiInboundGatewayParser extends AbstractRemotingGatewayParser {
@Override
protected Class<?> getBeanClass(Element element) {
return RmiInboundGateway.class;
protected String getBeanClassName(Element element) {
return "org.springframework.integration.rmi.RmiInboundGateway";
}
@Override