|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.bea.domingo.connector.impl.DomingoManagedConnectionFactory
public final class DomingoManagedConnectionFactory
| Constructor Summary | |
|---|---|
DomingoManagedConnectionFactory()
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
createConnectionFactory()
|
java.lang.Object |
createConnectionFactory(javax.resource.spi.ConnectionManager connectionManager)
|
javax.resource.spi.ManagedConnection |
createManagedConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
|
java.lang.String |
getHost()
Returns the host of a connection to Lotus Domino. |
java.io.PrintWriter |
getLogWriter()
|
java.lang.String |
getPort()
Returns the host of a connection to Lotus Domino. |
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
|
protected boolean |
matchConnection(DomingoManagedConnection mc,
javax.security.auth.Subject sub,
DomingoConnectionSpec cri)
checks whether the connection is valid. |
javax.resource.spi.ManagedConnection |
matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo info)
|
void |
setHost(java.lang.String h)
Sets the host name of the server for a connection. |
void |
setLogWriter(java.io.PrintWriter writer)
|
void |
setPort(java.lang.String p)
Sets the port of the server for a connection. |
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter adapter)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.resource.spi.ManagedConnectionFactory |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public DomingoManagedConnectionFactory()
| Method Detail |
|---|
public java.lang.Object createConnectionFactory()
throws javax.resource.ResourceException
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionManagedConnectionFactory.createConnectionFactory()
public java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager connectionManager)
throws javax.resource.ResourceException
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionManagedConnectionFactory.createConnectionFactory(javax.resource.spi.ConnectionManager)
public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
throws javax.resource.ResourceException
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,
javax.resource.spi.ConnectionRequestInfo)
public java.io.PrintWriter getLogWriter()
throws javax.resource.ResourceException
getLogWriter in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionManagedConnectionFactory.getLogWriter()
public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo info)
throws javax.resource.ResourceException
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionManagedConnectionFactory.matchManagedConnections(java.util.Set,
javax.security.auth.Subject,
javax.resource.spi.ConnectionRequestInfo)
protected boolean matchConnection(DomingoManagedConnection mc,
javax.security.auth.Subject sub,
DomingoConnectionSpec cri)
throws javax.resource.ResourceException
mc - the ICONManagedConnection to checksub - the Subject to use in checking the connectioncri - the ConnectionRequestInfo to use in checking the connection
javax.resource.ResourceException - if hte connection cannot be matched
public void setLogWriter(java.io.PrintWriter writer)
throws javax.resource.ResourceException
setLogWriter in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionManagedConnectionFactory.setLogWriter(java.io.PrintWriter)public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation{@inheritDoc}
public void setResourceAdapter(javax.resource.spi.ResourceAdapter adapter)
throws javax.resource.ResourceException
setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociationjavax.resource.ResourceExceptionResourceAdapterAssociation.setResourceAdapter(javax.resource.spi.ResourceAdapter)public java.lang.String getHost()
public java.lang.String getPort()
public void setHost(java.lang.String h)
h - name or IP-address of Lotus Domino serverpublic void setPort(java.lang.String p)
p - port of Lotus Domino server
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||