|
Email Answering System Version 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ninecode.email.connector.EmailDefaultConnectionManager
Generate javax.mail sessions wrapped for the Connector architecture.
Constructor Summary | |
EmailDefaultConnectionManager()
Creates a new instance of DefaultConnectionManager |
Method Summary | |
Object |
allocateConnection(ManagedConnectionFactory factory,
ConnectionRequestInfo info)
The method allocateConnection gets called by the resource adapter's connection factory instance. |
boolean |
equals(Object other)
Returns true if the other object is equal to this one. |
int |
hashCode()
Returns a hash code for this object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmailDefaultConnectionManager()
Method Detail |
public boolean equals(Object other)
true
if the other object is equal to this one.
equals
in class Object
true
if the other object is equal to this one.public int hashCode()
hashCode
in class Object
public Object allocateConnection(ManagedConnectionFactory factory, ConnectionRequestInfo info) throws ResourceException
allocateConnection
in interface ConnectionManager
factory
- Used by application server to delegate connection
matching/creation.info
- Connection request information.
ResourceException
- Generic exception.
ApplicationServerInternalException
- Application server specific exception.
SecurityException
- Security related error.
ResourceAllocationException
- Failed to allocate system resources for connection request.
ResourceAdapterInternalException
- Resource adapter related error condition.
|
Email Answering System Version 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |