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.14 $
Author:
Rickard Öberg (rickard.oberg@telkel.com), Marc Fleury
See Also:
EnterpriseContext

Inner Class Summary
protected  class EntityEnterpriseContext.EntityContextImpl
           
 
Inner classes inherited from class org.jboss.ejb.EnterpriseContext
EnterpriseContext.EJBContextImpl
 
Constructor Summary
EntityEnterpriseContext(java.lang.Object instance, Container con)
           
 
Method Summary
 void clear()
           
 void discard()
           
 CacheKey getCacheKey()
           
 javax.ejb.EJBContext getEJBContext()
          Get the EJBContext object
 javax.ejb.EJBObject getEJBObject()
           
 java.lang.Object getPersistenceContext()
           
 boolean isInvoked()
           
 boolean isValid()
           
 void setCacheKey(java.lang.Object key)
           
 void setEJBObject(javax.ejb.EJBObject eo)
           
 void setInvoked(boolean invoked)
           
 void setPersistenceContext(java.lang.Object ctx)
           
 void setValid(boolean valid)
           
 
Methods inherited from class org.jboss.ejb.EnterpriseContext
getContainer, getId, getInstance, getTransaction, isLocked, lock, setId, setPrincipal, setTransaction, unlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityEnterpriseContext

public EntityEnterpriseContext(java.lang.Object instance,
                               Container con)
                        throws java.rmi.RemoteException
Method Detail

clear

public void clear()
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()

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()

setInvoked

public void setInvoked(boolean invoked)

isInvoked

public boolean isInvoked()

setValid

public void setValid(boolean valid)

isValid

public boolean isValid()


Copyright © 2000 The JBoss Organization. All Rights Reserved.