|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.resource.connectionmanager.BaseConnectionManager2
org.jboss.resource.connectionmanager.NoTxConnectionManager
public class NoTxConnectionManager
The NoTxConnectionManager is an simple extension class of the BaseConnectionManager2 for use with jca adapters with no transaction support. It includes functionality to obtain managed connections from a ManagedConnectionPool mbean, find the Subject from a SubjectSecurityDomain, and interact with the CachedConnectionManager for connections held over transaction and method boundaries. Important mbean references are to a ManagedConnectionPool supplier (typically a JBossManagedConnectionPool), and a RARDeployment representing the ManagedConnectionFactory.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.resource.connectionmanager.BaseConnectionManager2 |
---|
BaseConnectionManager2.BaseConnectionEventListener, BaseConnectionManager2.ConnectionManagerProxy |
Field Summary |
---|
Fields inherited from class org.jboss.resource.connectionmanager.BaseConnectionManager2 |
---|
ccm, ccmName, jaasSecurityManagerService, jndiName, managedConnectionPoolName, poolingStrategy, securityDomain, securityDomainJndiName, STOPPING_NOTIFICATION, trace |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.resource.connectionmanager.BaseConnectionManager2MBean |
---|
OBJECT_NAME |
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
---|---|
NoTxConnectionManager()
|
|
NoTxConnectionManager(CachedConnectionManager ccm,
ManagedConnectionPool poolingStrategy)
Creates a new NoTxConnectionManager instance. |
Method Summary | |
---|---|
ConnectionListener |
createConnectionListener(javax.resource.spi.ManagedConnection mc,
Object context)
Create a managed connection listener for the managed connection |
protected void |
managedConnectionDisconnected(ConnectionListener cl)
For polymorphism. |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
---|
addNotificationListener, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Constructor Detail |
---|
public NoTxConnectionManager()
public NoTxConnectionManager(CachedConnectionManager ccm, ManagedConnectionPool poolingStrategy)
ccm
- a CachedConnectionManager
valuepoolingStrategy
- a ManagedConnectionPool
valueMethod Detail |
---|
public ConnectionListener createConnectionListener(javax.resource.spi.ManagedConnection mc, Object context)
ConnectionListenerFactory
mc
- the managed connectioncontext
- a context object used by the pool
protected void managedConnectionDisconnected(ConnectionListener cl) throws javax.resource.ResourceException
BaseConnectionManager2
Do not invoke directly use disconnectManagedConnection which does the relevent exception handling
managedConnectionDisconnected
in class BaseConnectionManager2
javax.resource.ResourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |