org.jboss.ejb
Class EntityEnterpriseContext
java.lang.Object
|
+--org.jboss.ejb.EnterpriseContext
|
+--org.jboss.ejb.EntityEnterpriseContext
- public class EntityEnterpriseContext
- extends EnterpriseContext
The EntityEnterpriseContext is used to associate EntityBean instances
with metadata about it.
- Version:
- $Revision: 1.18.4.1 $
Revisions
20010703 marcf
- setInvoked replaced by "hasTxSynchronization", the reason being that we
use it for Tx registration.
- Author:
- Rickard Öberg, Marc Fleury, Daniel OConnor
- See Also:
EnterpriseContext
Methods inherited from class org.jboss.ejb.EnterpriseContext |
getContainer, getId, getInstance, getTransaction, getTxLock, isLocked, lock, setId, setPrincipal, setTransaction, unlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityEnterpriseContext
public EntityEnterpriseContext(java.lang.Object instance,
Container con)
throws java.rmi.RemoteException
clear
public void clear()
- Description copied from class:
EnterpriseContext
- before reusing this context we clear it of previous state called
by pool.free()
- Overrides:
clear
in class EnterpriseContext
discard
public void discard()
throws java.rmi.RemoteException
- Overrides:
discard
in class EnterpriseContext
getEJBContext
public javax.ejb.EJBContext getEJBContext()
- Description copied from class:
EnterpriseContext
- Get the EJBContext object
- Overrides:
getEJBContext
in class EnterpriseContext
setEJBObject
public void setEJBObject(javax.ejb.EJBObject eo)
getEJBObject
public javax.ejb.EJBObject getEJBObject()
setEJBLocalObject
public void setEJBLocalObject(javax.ejb.EJBLocalObject eo)
getEJBLocalObject
public javax.ejb.EJBLocalObject getEJBLocalObject()
setCacheKey
public void setCacheKey(java.lang.Object key)
getCacheKey
public CacheKey getCacheKey()
setPersistenceContext
public void setPersistenceContext(java.lang.Object ctx)
getPersistenceContext
public java.lang.Object getPersistenceContext()
hasTxSynchronization
public void hasTxSynchronization(boolean value)
hasTxSynchronization
public boolean hasTxSynchronization()
setValid
public void setValid(boolean valid)
isValid
public boolean isValid()
Copyright © 2000 The JBoss Organization. All Rights Reserved.