|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.adapter.jmx.pool.outbound.ManagedConnectionFactoryImpl
public class ManagedConnectionFactoryImpl
Implementation of the ManagedConnectionFactory interface. This can provide a new JmxCnxConnectionFactory.
| Constructor Summary | |
|---|---|
ManagedConnectionFactoryImpl()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
createConnectionFactory()
Creates a JmxCnxConnectionFactory instance. |
java.lang.Object |
createConnectionFactory(javax.resource.spi.ConnectionManager cxManager)
Creates a JmxCnxConnectionFactory instance. |
javax.resource.spi.ManagedConnection |
createManagedConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
Creates a new physical connection to the underlying EIS resource manager. |
static java.util.logging.Logger |
getLogger()
Get the logger. |
java.io.PrintWriter |
getLogWriter()
Get the log writer for this ManagedConnectionFactory instance. |
java.io.PrintWriter |
getPrintWriter()
Get the printWriter. |
javax.resource.spi.ManagedConnection |
matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
Returns a matched connection from the candidate set of connections. |
void |
setLogWriter(java.io.PrintWriter out)
Set the log writer for this ManagedConnectionFactory instance. |
| 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 ManagedConnectionFactoryImpl()
| Method Detail |
|---|
public final java.lang.Object createConnectionFactory()
throws javax.resource.ResourceException
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceException - Generic exception
ResourceAdapterInternalException Resource adapter related
error conditionManagedConnectionFactory#createConnectionFactory()
public final java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager cxManager)
throws javax.resource.ResourceException
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactorycxManager - ConnectionManager to be associated with created EIS
connection factory instance.
javax.resource.ResourceException - Generic exception
ResourceAdapterInternalException Resource adapter related
error conditioncreateConnectionFactory(ConnectionManager)
public final 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.ManagedConnectionFactorysubject - Caller's security information. arg1 Additional resourcecxRequestInfo - Additional resource adapter specific connection
request information
javax.resource.ResourceException - generic exceptioncreateManagedConnection(Subject, ConnectionRequestInfo)
public final java.io.PrintWriter getLogWriter()
throws javax.resource.ResourceException
getLogWriter in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceException - generic exception.ManagedConnectionFactory.getLogWriter()
public final javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
throws javax.resource.ResourceException
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactoryconnectionSet - Candidate connection set.subject - Caller's security information.cxRequestInfo - Additional resource adapter specific connection
request information.
javax.resource.ResourceException - Generic exceptionmatchManagedConnections(Set, Subject, ConnectionRequestInfo)
public final void setLogWriter(java.io.PrintWriter out)
throws javax.resource.ResourceException
setLogWriter in interface javax.resource.spi.ManagedConnectionFactoryout - PrintWriter - an out stream for error logging and tracing.
javax.resource.ResourceException - Generic exception.setLogWriter(PrintWriter)public java.io.PrintWriter getPrintWriter()
public static java.util.logging.Logger getLogger()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||