|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.myfoo.commonj.util.AbstractFactory
de.myfoo.commonj.timers.FooTimerManagerFactory
public final class FooTimerManagerFactory
Factory class for TimerManagers.
| Field Summary |
|---|
| Fields inherited from class de.myfoo.commonj.util.AbstractFactory |
|---|
CONFIG_MAX_THREADS, CONFIG_MIN_THREADS, CONFIG_QUEUE_LENGTH, managers |
| Constructor Summary | |
|---|---|
FooTimerManagerFactory()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
Factory method that returns an instance of the requested TimerManager. |
| Methods inherited from class de.myfoo.commonj.util.AbstractFactory |
|---|
finalize, getValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FooTimerManagerFactory()
| Method Detail |
|---|
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
throws java.lang.Exception
TimerManager.
obj - The possibly null object containing location or
reference information that can be used in creating an
object.name - The name of this object relative to nameCtx,
or null if no name is specified.nameCtx - The context relative to which the name
parameter is specified, or null if
name is relative to the default initial
context.environment - The possibly null environment that is #
used in creating the object.
java.lang.Exception - if this object factory encountered an exception while
attempting to create an object, and no other object
factories are to be tried.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||