com.infoengine.email
Class EMailAdapterImpl
java.lang.Object
com.infoengine.email.EMailAdapterImpl
- All Implemented Interfaces:
- IeMultithreadedProcessor, IeProcessor
- public class EMailAdapterImpl
- extends Object
- implements IeMultithreadedProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
domain
private String domain
logWriter
private com.infoengine.log.LogWriter logWriter
maxStoreAge
private int maxStoreAge
maxStoreCacheSize
private int maxStoreCacheSize
serviceName
private String serviceName
busyStores
private static Hashtable busyStores
freeStores
private static Hashtable freeStores
freeStoresLastUse
private static Hashtable freeStoresLastUse
storeSessions
private static Hashtable storeSessions
EMailAdapterImpl
public EMailAdapterImpl()
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
getSession
public static javax.mail.Session getSession(javax.mail.Store store)
getStore
private javax.mail.Store getStore(Webject webject,
Hashtable ctx)
throws IEException
- Throws:
IEException
getFreeStore
private javax.mail.Store getFreeStore(Hashtable ctx)
closeStore
private void closeStore(javax.mail.Store store,
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