Methods Summary |
---|
private static synchronized org.jboss.ejb3.timerservice.TimerServiceFactory | createInstance()
if(instance != null)
return instance;
String factoryClass = "org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory";
factoryClass = System.getProperty("org.jboss.ejb3.timerservice.factory", factoryClass);
try
{
Class cls = Class.forName(factoryClass);
instance = (TimerServiceFactory) cls.newInstance();
return instance;
}
catch(ClassNotFoundException e)
{
throw new EJBException(e);
}
catch(InstantiationException e)
{
throw new EJBException(e);
}
catch(IllegalAccessException e)
{
throw new EJBException(e);
}
|
public abstract javax.ejb.TimerService | createTimerService(javax.management.ObjectName objectName, TimedObjectInvoker invoker)
|
public static org.jboss.ejb3.timerservice.TimerServiceFactory | getInstance()
if(instance == null)
{
createInstance();
}
return instance;
|
public abstract void | removeTimerService(javax.ejb.TimerService timerService)
|
public abstract void | restoreTimerService(javax.ejb.TimerService timerService)Restores the timers held with the specified timer service.
|