* It has to call the Timed method.
* @param timer the given timer object that will be given to the timer method.
*/
public void notifyTimeout(final Timer timer) {
// Call the EasyBeans timer method on a given bean instance
EasyBeansSingletonSB 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