public abstract class AbstractObjectFactory extends Object implements ObjectFactory
| Constructor and Description |
|---|
AbstractObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
buildJndiName(Reference reference) |
protected Context |
getContext(String jndiProviderId) |
Object |
getObjectInstance(Object object,
Name name,
Context context,
Hashtable environment) |
protected Object |
lookup(String jndiProviderId,
String jndiName) |
public Object getObjectInstance(Object object, Name name, Context context, Hashtable environment) throws Exception
getObjectInstance in interface ObjectFactoryExceptionprotected abstract String buildJndiName(Reference reference) throws NamingException
NamingExceptionprotected Object lookup(String jndiProviderId, String jndiName) throws NamingException
NamingExceptionprotected Context getContext(String jndiProviderId) throws NamingException
NamingExceptionCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.