public void end() throws Exception {
// --------------------------------------------------------- Public Methods
// Identify the objects to be used
Object child = digester.peek(0);
Object parent = digester.peek(1);
NamingResources namingResources = null;
if (parent instanceof Context) {
namingResources = ((Context) parent).getNamingResources();
} else {
namingResources = (NamingResources) parent;
}
// Call the specified method
IntrospectionUtils.callMethod1(namingResources, methodName,
child, paramType, digester.getClassLoader());
}
Process the end of this element. |