Oracle Communications Services Gatekeeper Java API Reference
7.0.0.1

E96578-01

com.bea.wlcp.wlng.api.timers
Class TimerManagerFactory

java.lang.Object
  extended bycom.bea.wlcp.wlng.api.timers.TimerManagerFactory

public abstract class TimerManagerFactory
extends java.lang.Object

Factory for using the commonj.timers api.

Example usage

 TimerManager tm = TimerManagerFactory.getFactory().getTimerManager("my_timer_mgr", "my_work_mgr");
 Timer timer = tm.schedule(listerner, delay);
 


Constructor Summary
TimerManagerFactory()
           
 
Method Summary
static TimerManagerFactory getFactory()
          Retrieves the fatory
abstract  commonj.timers.TimerManager getTimerManager(java.lang.String name, java.lang.String workMgr)
          Gets a commonj.timers.TimerManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerManagerFactory

public TimerManagerFactory()
Method Detail

getFactory

public static TimerManagerFactory getFactory()
Retrieves the fatory


getTimerManager

public abstract commonj.timers.TimerManager getTimerManager(java.lang.String name,
                                                            java.lang.String workMgr)
Gets a commonj.timers.TimerManager. If the timer manager does not exist, then create one with that name.

Parameters:
name - Name for the timer manager.
workMgr - This is the name of a predefined work manager. If name is null or there is no work manager defined the default work manager will be used.

Oracle Communications Services Gatekeeper Java API Reference
7.0.0.1

E96578-01

Copyright © 2008, 2018, Oracle and/or its affiliates. All rights reserved.