public class ManagedConnectionFactoryImpl extends Object implements javax.resource.spi.ManagedConnectionFactory, Serializable
| Constructor and Description |
|---|
ManagedConnectionFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createConnectionFactory() |
Object |
createConnectionFactory(javax.resource.spi.ConnectionManager connectionMgr) |
javax.resource.spi.ManagedConnection |
createManagedConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo info) |
PrintWriter |
getLogWriter() |
String |
getSleeJndiName() |
boolean |
isRefreshOnDisconnect() |
javax.resource.spi.ManagedConnection |
matchManagedConnections(Set connections,
Subject subject,
javax.resource.spi.ConnectionRequestInfo info) |
void |
setLogWriter(PrintWriter writer) |
void |
setRefreshOnDisconnect(boolean refreshOnDisconnect) |
void |
setSleeJndiName(String name) |
public String getSleeJndiName()
public void setSleeJndiName(String name)
public boolean isRefreshOnDisconnect()
public void setRefreshOnDisconnect(boolean refreshOnDisconnect)
public Object createConnectionFactory() throws javax.resource.ResourceException
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic Object createConnectionFactory(javax.resource.spi.ConnectionManager connectionMgr) throws javax.resource.ResourceException
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic javax.resource.spi.ManagedConnection createManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo info) throws javax.resource.ResourceException
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic javax.resource.spi.ManagedConnection matchManagedConnections(Set connections, Subject subject, javax.resource.spi.ConnectionRequestInfo info) throws javax.resource.ResourceException
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic PrintWriter getLogWriter() throws javax.resource.ResourceException
getLogWriter in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionpublic void setLogWriter(PrintWriter writer) throws javax.resource.ResourceException
setLogWriter in interface javax.resource.spi.ManagedConnectionFactoryjavax.resource.ResourceExceptionCopyright © 2016. All rights reserved.