@Generated(value="org.jomc.tools.SourceFileProcessor 1.9", comments="See http://www.jomc.org/jomc/1.9/jomc-tools-1.9") public abstract class ObjectManagerFactory extends Object
ObjectManager
singleton.
Constructor and Description |
---|
ObjectManagerFactory()
Creates a new
ObjectManagerFactory instance. |
Modifier and Type | Method and Description |
---|---|
static ObjectManager |
getObjectManager(ClassLoader classLoader)
Gets the
ObjectManager singleton instance. |
static ObjectManager |
newObjectManager(ClassLoader classLoader)
Creates a new
ObjectManager instance. |
@Generated(value="org.jomc.tools.SourceFileProcessor 1.9", comments="See http://www.jomc.org/jomc/1.9/jomc-tools-1.9") public ObjectManagerFactory()
ObjectManagerFactory
instance.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.Copyright © 2005–2015 The JOMC Project. All rights reserved.