| |
|
| java.lang.Object org.jboss.ejb.EnterpriseContext
All known Subclasses: org.jboss.ejb.MessageDrivenEnterpriseContext, org.jboss.ejb.StatelessSessionEnterpriseContext, org.jboss.ejb.EntityEnterpriseContext, org.jboss.ejb.StatefulSessionEnterpriseContext,
Inner Class :protected class EJBContextImpl implements EJBContext | |
Inner Class :protected class UserTransactionImpl implements UserTransaction | |
id | Object id(Code) | | Only StatelessSession beans have no Id, stateful and entity do
|
locked | int locked(Code) | | The instance is being used. This locks it's state
|
log | protected static Logger log(Code) | | Instance logger.
|
synch | Synchronization synch(Code) | | Set to the synchronization currently associated with this context.
May be null
|
transaction | Transaction transaction(Code) | | The transaction associated with the instance
|
txLock | Object txLock(Code) | | The instance is used in a transaction, synchronized methods on the tx
|
clear | public void clear()(Code) | | before reusing this context we clear it of previous state called
by pool.free()
|
getContainer | public Container getContainer()(Code) | | Gets the container that manages the wrapped bean.
|
getEJBContext | abstract public EJBContext getEJBContext()(Code) | | Get the EJBContext object
|
getTransaction | public Transaction getTransaction()(Code) | | |
isContainerManagedTx | protected boolean isContainerManagedTx()(Code) | | |
isLocked | public boolean isLocked()(Code) | | |
isUserManagedTx | protected boolean isUserManagedTx()(Code) | | |
setTransaction | public void setTransaction(Transaction transaction)(Code) | | |
setUserTransactionStartedListener | public static void setUserTransactionStartedListener(ServerVMClientUserTransaction.UserTransactionStartedListener newTsl)(Code) | | The setUserTransactionStartedListener method is called by
CachedConnectionManager on start and stop. The tsl is notified on
UserTransaction.begin so it (the CachedConnectionManager) can enroll
connections that are already checked out.
Parameters: newTsl - a ServerVMClientUserTransaction.UserTransactionStartedListener value |
unlock | public void unlock()(Code) | | |
|
|
|