|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.ObjectManagerFactory
@Generated(value="org.jomc.tools.JavaSources",
comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-3/jomc-tools")
public class ObjectManagerFactory
Factory for the ObjectManager singleton.
| Field Summary | |
|---|---|
private static String |
DEFAULT_FACTORY_CLASSNAME
Constant for the name of the class providing the default getObjectManager() method. |
private static String |
DEFAULT_IMPLEMENTATION_CLASSNAME
Constant for the name of the class providing the default ObjectManager implementation. |
private static String |
SYS_FACTORY_CLASSNAME
Constant for the name of the system property holding the getObjectManager() method's class name. |
private static String |
SYS_IMPLEMENTATION_CLASSNAME
Constant for the name of the system property holding the ObjectManager implementation class name. |
| Constructor Summary | |
|---|---|
ObjectManagerFactory()
Creates a new ObjectManagerFactory instance. |
|
| Method Summary | |
|---|---|
static ObjectManager |
getObjectManager()
Gets the ObjectManager singleton instance. |
static ObjectManager |
newObjectManager()
Creates a new ObjectManager instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final String DEFAULT_FACTORY_CLASSNAME
getObjectManager() method.
private static final String DEFAULT_IMPLEMENTATION_CLASSNAME
ObjectManager implementation.
private static final String SYS_FACTORY_CLASSNAME
getObjectManager() method's class name.
private static final String SYS_IMPLEMENTATION_CLASSNAME
ObjectManager implementation class name.
| Constructor Detail |
|---|
@Generated(value="org.jomc.tools.JavaSources",
comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-3/jomc-tools")
public ObjectManagerFactory()
ObjectManagerFactory instance.
| Method Detail |
|---|
public static ObjectManager getObjectManager()
ObjectManager singleton instance.
This method is controlled by system property org.jomc.ObjectManagerFactory providing the name of a
class declaring a
public static ObjectManager getObjectManager() method called
by this method to get the instance to return.
The newObjectManager method should be used by getObjectManager implementors to retrieve a new
ObjectManager implementation.
ObjectManager singleton instance.
ObjectManagementException - if getting the singleton instance fails.newObjectManager()public static ObjectManager newObjectManager()
ObjectManager instance.
The object manager implementation returned by this method is controlled by system property
org.jomc.ObjectManager providing the name of the ObjectManager implementation to return.
ObjectManager instance.
ObjectManagementException - if creating a new ObjectManager instance fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||