|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.datapower.wamt.AbstractFactory
public abstract class AbstractFactory
A common implementation of a class factory, it can be extended to create
specific factories. In the javadoc refer to the list of known subclasses for
a list of classes where this is used. This abstract factory can be configured
to return singletons or create new objects upon each invocation. It uses
reflection to obtain and validate any named class. If you wish to use this,
look at the methods with the protected
access modifier,
especially getUntypedInstance
. (Note: the default Ant script
may be configured to generate javadoc for only public methods and not for
protected methods, so the javadoc for getUntypedInstance
may
not be generated automatically.)
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2009_2013
|
static boolean |
NON_SINGLETON
When the factory is invoked, it should create a new instance of the object even if one already exists. |
static boolean |
SINGLETON
When the factory is invoked, it should find an existing object and return it. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean SINGLETON
public static boolean NON_SINGLETON
public static final java.lang.String COPYRIGHT_2009_2013
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |