public class XDBRepositoryConfigurationFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory
Constructor and Description |
---|
XDBRepositoryConfigurationFactory()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable environment)
JNDI factory method to create an object using the location or reference information specified.
|
static java.lang.Object |
getXDBRepositoryConfigurationState(XDBRepositoryConfiguration repositoryConfiguration)
Gets the internal state of the specified XDBRepositoryConfiguration.
|
public XDBRepositoryConfigurationFactory()
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
getObjectInstance
in interface javax.naming.spi.ObjectFactory
obj
- an object containing location or reference information that can be used in creating the objectname
- the name of the object relative to nameCtx
, or null if no name is specifiednameCtx
- the context relative to which name
is specified, or null if name
is relative to the default initial contextenvironment
- the environment used in creating the object, or nulljava.lang.Exception
- if the operation failspublic static java.lang.Object getXDBRepositoryConfigurationState(XDBRepositoryConfiguration repositoryConfiguration)
repositoryConfiguration
- the repository configuration