public abstract class EncCmp2Bean extends Object implements javax.ejb.EntityBean
| Modifier and Type | Field and Description |
|---|---|
javax.ejb.EntityContext |
ejbContext |
| Constructor and Description |
|---|
EncCmp2Bean() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Integer |
ejbCreate(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(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.
|
abstract String |
getFirstName() |
abstract Integer |
getId() |
abstract String |
getLastName() |
void |
lookupBooleanEntry() |
void |
lookupByteEntry() |
void |
lookupCharacterEntry() |
void |
lookupDoubleEntry() |
void |
lookupEntityBean() |
void |
lookupFloatEntry() |
void |
lookupIntegerEntry() |
void |
lookupJMSConnectionFactory() |
void |
lookupLongEntry() |
void |
lookupPersistenceContext() |
void |
lookupPersistenceUnit() |
void |
lookupResource() |
void |
lookupShortEntry() |
void |
lookupStatefulBean() |
void |
lookupStatefulBusinessLocal() |
void |
lookupStatefulBusinessRemote() |
void |
lookupStatelessBean() |
void |
lookupStatelessBusinessLocal() |
void |
lookupStatelessBusinessRemote() |
void |
lookupStringEntry() |
void |
setEntityContext(javax.ejb.EntityContext ctx)
Set the associated entity context.
|
abstract void |
setFirstName(String firstName) |
abstract void |
setId(Integer primaryKey) |
abstract void |
setLastName(String lastName) |
void |
unsetEntityContext()
Unset the associated entity context.
|
public abstract Integer getId()
public abstract void setId(Integer primaryKey)
public abstract String getFirstName()
public abstract void setFirstName(String firstName)
public abstract String getLastName()
public abstract void setLastName(String lastName)
public Integer ejbCreate(String name) throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic void ejbPostCreate(String name)
public void lookupEntityBean()
throws TestFailureException
TestFailureExceptionpublic void lookupStatefulBean()
throws TestFailureException
TestFailureExceptionpublic void lookupStatelessBean()
throws TestFailureException
TestFailureExceptionpublic void lookupStatelessBusinessLocal()
throws TestFailureException
TestFailureExceptionpublic void lookupStatelessBusinessRemote()
throws TestFailureException
TestFailureExceptionpublic void lookupStatefulBusinessLocal()
throws TestFailureException
TestFailureExceptionpublic void lookupStatefulBusinessRemote()
throws TestFailureException
TestFailureExceptionpublic void lookupStringEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupDoubleEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupLongEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupFloatEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupIntegerEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupShortEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupBooleanEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupByteEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupCharacterEntry()
throws TestFailureException
TestFailureExceptionpublic void lookupResource()
throws TestFailureException
TestFailureExceptionpublic void lookupJMSConnectionFactory()
throws TestFailureException
TestFailureExceptionpublic void lookupPersistenceUnit()
throws TestFailureException
TestFailureExceptionpublic void lookupPersistenceContext()
throws TestFailureException
TestFailureExceptionpublic void ejbLoad()
ejbLoad in interface javax.ejb.EntityBeanpublic void setEntityContext(javax.ejb.EntityContext ctx)
setEntityContext in interface javax.ejb.EntityBeanpublic void unsetEntityContext()
unsetEntityContext in interface javax.ejb.EntityBeanpublic void ejbStore()
ejbStore in interface javax.ejb.EntityBeanpublic void ejbRemove()
ejbRemove in interface javax.ejb.EntityBeanpublic void ejbActivate()
ejbActivate in interface javax.ejb.EntityBeanpublic void ejbPassivate()
ejbPassivate in interface javax.ejb.EntityBeanCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.