curThread.getContextClassLoader();
try {
// do we need to perform security checks here?
curThread.setContextClassLoader(jbiAdapter.getClassLoader());
// call to invoke the endpoint
jbiAdapter.handle();
} finally {
curThread.setContextClassLoader(currentLoader);
}
} else
logger.log(Level.WARNING, "Endpoint ["+endpointName+"] not registered");