|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.test.entity.cmp.EncCmpBean
public class EncCmpBean
Field Summary | |
---|---|
javax.ejb.EntityContext |
ejbContext
|
java.lang.String |
firstName
|
static int |
key
|
java.lang.String |
lastName
|
int |
primaryKey
|
Constructor Summary | |
---|---|
EncCmpBean()
|
Method Summary | |
---|---|
void |
ejbActivate()
A container invokes this method when the instance is taken out of the pool of available instances to become associated with a specific EJB object. |
java.lang.Integer |
ejbCreate(java.lang.String name)
Maps to EncCmpHome.create |
void |
ejbLoad()
A container invokes this method to instruct the instance to synchronize its state by loading it state from the underlying database. |
void |
ejbPassivate()
A container invokes this method on an instance before the instance becomes disassociated with a specific EJB object. |
void |
ejbPostCreate(java.lang.String name)
|
void |
ejbRemove()
A container invokes this method before it removes the EJB object that is currently associated with the instance. |
void |
ejbStore()
A container invokes this method to instruct the instance to synchronize its state by storing it to the underlying database. |
void |
lookupBooleanEntry()
|
void |
lookupByteEntry()
|
void |
lookupDoubleEntry()
|
void |
lookupEntityBean()
|
void |
lookupFloatEntry()
|
void |
lookupIntegerEntry()
|
void |
lookupLongEntry()
|
void |
lookupResource()
|
void |
lookupShortEntry()
|
void |
lookupStatefulBean()
|
void |
lookupStatelessBean()
|
void |
lookupStringEntry()
|
void |
setEntityContext(javax.ejb.EntityContext ctx)
Set the associated entity context. |
void |
unsetEntityContext()
Unset the associated entity context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int key
public int primaryKey
public java.lang.String firstName
public java.lang.String lastName
public javax.ejb.EntityContext ejbContext
Constructor Detail |
---|
public EncCmpBean()
Method Detail |
---|
public java.lang.Integer ejbCreate(java.lang.String name) throws javax.ejb.CreateException
name
-
javax.ejb.CreateException
EncCmpHome.create
public void ejbPostCreate(java.lang.String name) throws javax.ejb.CreateException
javax.ejb.CreateException
public void lookupEntityBean() throws TestFailureException
TestFailureException
public void lookupStatefulBean() throws TestFailureException
TestFailureException
public void lookupStatelessBean() throws TestFailureException
TestFailureException
public void lookupStringEntry() throws TestFailureException
TestFailureException
public void lookupDoubleEntry() throws TestFailureException
TestFailureException
public void lookupLongEntry() throws TestFailureException
TestFailureException
public void lookupFloatEntry() throws TestFailureException
TestFailureException
public void lookupIntegerEntry() throws TestFailureException
TestFailureException
public void lookupShortEntry() throws TestFailureException
TestFailureException
public void lookupBooleanEntry() throws TestFailureException
TestFailureException
public void lookupByteEntry() throws TestFailureException
TestFailureException
public void lookupResource() throws TestFailureException
TestFailureException
public void ejbLoad() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbLoad
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException, java.rmi.RemoteException
setEntityContext
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
public void unsetEntityContext() throws javax.ejb.EJBException, java.rmi.RemoteException
unsetEntityContext
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbStore() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbStore
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbRemove() throws javax.ejb.RemoveException, javax.ejb.EJBException, java.rmi.RemoteException
ejbRemove
in interface javax.ejb.EntityBean
javax.ejb.RemoveException
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbActivate
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbPassivate
in interface javax.ejb.EntityBean
javax.ejb.EJBException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |