public abstract class BasicManagedConnectionFactory extends Object implements javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ResourceAdapterAssociation, javax.resource.spi.ValidatingManagedConnectionFactory
| Constructor and Description |
|---|
BasicManagedConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
checkEquals(Object left,
Object right) |
abstract BasicConnectionFactory |
createConnectionFactory() |
Object |
createConnectionFactory(javax.resource.spi.ConnectionManager cm) |
javax.resource.spi.ManagedConnection |
createManagedConnection(Subject arg0,
javax.resource.spi.ConnectionRequestInfo arg1) |
static <T> T |
getInstance(Class<T> expectedType,
String className,
Collection ctorObjs,
Class defaultClass) |
Set<BasicManagedConnection> |
getInvalidConnections(Set arg0) |
PrintWriter |
getLogWriter() |
javax.resource.spi.ResourceAdapter |
getResourceAdapter() |
javax.resource.spi.ManagedConnection |
matchManagedConnections(Set arg0,
Subject arg1,
javax.resource.spi.ConnectionRequestInfo arg2) |
void |
setLogWriter(PrintWriter arg0) |
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter arg0) |
public abstract BasicConnectionFactory createConnectionFactory() throws javax.resource.ResourceException
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic Object createConnectionFactory(javax.resource.spi.ConnectionManager cm) throws javax.resource.ResourceException
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic javax.resource.spi.ManagedConnection createManagedConnection(Subject arg0, javax.resource.spi.ConnectionRequestInfo arg1) throws javax.resource.ResourceException
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic PrintWriter getLogWriter() throws javax.resource.ResourceException
getLogWriter in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic javax.resource.spi.ManagedConnection matchManagedConnections(Set arg0, Subject arg1, javax.resource.spi.ConnectionRequestInfo arg2) throws javax.resource.ResourceException
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic void setLogWriter(PrintWriter arg0) throws javax.resource.ResourceException
setLogWriter in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociationpublic void setResourceAdapter(javax.resource.spi.ResourceAdapter arg0)
throws javax.resource.ResourceException
setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociationjavax.resource.ResourceExceptionpublic static <T> T getInstance(Class<T> expectedType, String className, Collection ctorObjs, Class defaultClass) throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic Set<BasicManagedConnection> getInvalidConnections(Set arg0) throws javax.resource.ResourceException
getInvalidConnections in interface javax.resource.spi.ValidatingManagedConnectionFactoryjavax.resource.ResourceExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.