public abstract class AbstractObjectFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory
Constructor and Description |
---|
AbstractObjectFactory() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
buildJndiName(javax.naming.Reference reference) |
protected javax.naming.Context |
getContext(java.lang.String jndiProviderId) |
java.lang.Object |
getObjectInstance(java.lang.Object object,
javax.naming.Name name,
javax.naming.Context context,
java.util.Hashtable environment) |
protected java.lang.Object |
lookup(java.lang.String jndiProviderId,
java.lang.String jndiName) |
public java.lang.Object getObjectInstance(java.lang.Object object, javax.naming.Name name, javax.naming.Context context, java.util.Hashtable environment) throws java.lang.Exception
getObjectInstance
in interface javax.naming.spi.ObjectFactory
java.lang.Exception
protected abstract java.lang.String buildJndiName(javax.naming.Reference reference) throws javax.naming.NamingException
javax.naming.NamingException
protected java.lang.Object lookup(java.lang.String jndiProviderId, java.lang.String jndiName) throws javax.naming.NamingException
javax.naming.NamingException
protected javax.naming.Context getContext(java.lang.String jndiProviderId) throws javax.naming.NamingException
javax.naming.NamingException