if( contextType.equals("javax.ejb.TimerService") ) {
if (EJBTimerService.getEJBTimerService() == null ) {
throw new IllegalStateException("EJB Timer Service not " +
"available");
}
returnObject = new EJBTimerServiceWrapper
(EJBTimerService.getEJBTimerService(), (EJBContextImpl) ejbInv.context);
}
return returnObject;