com.infoengine.jndi
Class JNDIAdapterImpl
java.lang.Object
com.infoengine.jndi.JNDIAdapterImpl
- All Implemented Interfaces:
- IeMultithreadedProcessor, IeProcessor
- public class JNDIAdapterImpl
- extends Object
- implements IeMultithreadedProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
envProps
private Properties envProps
maxContextAge
private int maxContextAge
maxContextCacheSize
private int maxContextCacheSize
logWriter
private com.infoengine.log.LogWriter logWriter
serviceName
private String serviceName
busyContexts
private static Hashtable busyContexts
freeContexts
private static Hashtable freeContexts
freeContextsLastUse
private static Hashtable freeContextsLastUse
JNDIAdapterImpl
public JNDIAdapterImpl()
initialize
public void initialize(String serviceName,
com.infoengine.log.LogWriter log)
- Description copied from interface:
IeProcessor
- Initialize the adapter implementation class.
- Specified by:
initialize
in interface IeProcessor
- Parameters:
serviceName
- Logical name defined for this implementationlog
- file to write informational and debug messages.
processRequest
public IeRequest processRequest(Request request)
throws IEException
- Description copied from interface:
IeProcessor
- Process a request received from the Info*Engine server. This
method is called when a adapter request if received on the Info*Engine
socket.
- Specified by:
processRequest
in interface IeProcessor
- Parameters:
request
- The request to perform
- Throws:
IEException
getDirContext
private DirContext getDirContext(Webject webject,
Properties env)
throws NamingException
- Throws:
NamingException
getFreeContext
private DirContext getFreeContext(Properties env)
closeContext
private void closeContext(DirContext context,
boolean force)
toClassName
private String toClassName(String oldstring)
- Converts the request to the classname syntax.
- Parameters:
oldstring
- The request in original form
- Returns:
- The request in the converted form