|
||||||||||
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-11/jomc-tools") public class ObjectManagerFactory
Factory for the ObjectManager
singleton.
Constructor Summary | |
---|---|
ObjectManagerFactory()
Creates a new ObjectManagerFactory instance. |
Method Summary | |
---|---|
static ObjectManager |
getObjectManager(ClassLoader classLoader)
Gets the ObjectManager singleton instance. |
static ObjectManager |
newObjectManager(ClassLoader classLoader)
Creates a new ObjectManager instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Generated(value="org.jomc.tools.JavaSources", comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools") public ObjectManagerFactory()
ObjectManagerFactory
instance.
Method Detail |
---|
public static ObjectManager getObjectManager(ClassLoader classLoader)
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( ClassLoader )
method called by this method to get the instance to return.
Note
The newObjectManager
method should be used by getObjectManager
implementors to retrieve a new
ObjectManager
implementation.
classLoader
- The class loader to use for getting the singleton instance; null
to use the platform's
bootstrap class loader.
ObjectManager
singleton instance.
ObjectManagementException
- if getting the singleton instance fails.newObjectManager(java.lang.ClassLoader)
public static ObjectManager newObjectManager(ClassLoader classLoader)
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 class to return
a new instance of.
classLoader
- The class loader to use for creating the instance; null
to use the platform's
bootstrap class loader.
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 |