logger.warn("Received a timer call but the factory has been stopped, so ignore this call");
return;
}
// Call the EasyBeans timer method on a given bean instance
EasyBeansSLSB bean = null;
bean = getBean(null);
//set ClassLoader
ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(getContainer().getClassLoader());
// Call the timer method on the bean
try {
bean.timeoutCallByEasyBeans(timer);
} finally {
// Reset classloader
Thread.currentThread().setContextClassLoader(oldClassLoader);
// push back into the pool