public class MessageSenderManager extends java.lang.Object implements ManagedConnectionFactory, ResourceAdapterAssociation
Modifier and Type | Field and Description |
---|---|
protected static java.util.logging.Logger |
log |
Constructor and Description |
---|
MessageSenderManager() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createConnectionFactory()
Creates the data source the user sees.
|
java.lang.Object |
createConnectionFactory(ConnectionManager connManager)
Creates the data source the user sees.
|
ManagedConnection |
createManagedConnection(javax.security.auth.Subject subject,
ConnectionRequestInfo requestInfo)
Creates the underlying managed connection.
|
java.io.PrintWriter |
getLogWriter()
Returns the dummy log writer.
|
ResourceAdapter |
getResourceAdapter()
Returns the resource adapter.
|
void |
init() |
ManagedConnection |
matchManagedConnections(java.util.Set connSet,
javax.security.auth.Subject subject,
ConnectionRequestInfo requestInfo)
Creates the underlying managed connection.
|
void |
setLogWriter(java.io.PrintWriter log)
Sets the dummy log writer.
|
void |
setResourceAdapter(ResourceAdapter adapter)
Sets the resource adapter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode
public ResourceAdapter getResourceAdapter()
ResourceAdapterAssociation
getResourceAdapter
in interface ResourceAdapterAssociation
public void setResourceAdapter(ResourceAdapter adapter) throws ResourceException
ResourceAdapterAssociation
setResourceAdapter
in interface ResourceAdapterAssociation
ResourceException
@PostConstruct public void init() throws ConfigException
ConfigException
public java.lang.Object createConnectionFactory(ConnectionManager connManager) throws ResourceException
createConnectionFactory
in interface ManagedConnectionFactory
ResourceException
public java.lang.Object createConnectionFactory() throws ResourceException
createConnectionFactory
in interface ManagedConnectionFactory
ResourceException
public ManagedConnection createManagedConnection(javax.security.auth.Subject subject, ConnectionRequestInfo requestInfo) throws ResourceException
createManagedConnection
in interface ManagedConnectionFactory
ResourceException
public ManagedConnection matchManagedConnections(java.util.Set connSet, javax.security.auth.Subject subject, ConnectionRequestInfo requestInfo) throws ResourceException
matchManagedConnections
in interface ManagedConnectionFactory
ResourceException
public java.io.PrintWriter getLogWriter()
getLogWriter
in interface ManagedConnectionFactory
public void setLogWriter(java.io.PrintWriter log)
setLogWriter
in interface ManagedConnectionFactory