Method Summary |
|
public 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. |
public java.lang.Object | ejbCreate(int i, String s) The Entity bean can define 0 or more ejbCreate methods.
throws: CreateException - Failure to create an entity EJB object. throws: DuplicateKeyException - An object with the same key already exists. |
public void | ejbLoad() A container invokes this method to instruct the instance to synchronize
its state by loading it state from the underlying database. |
public void | ejbPassivate() A container invokes this method on an instance before the instance
becomes disassociated with a specific EJB object. |
public void | ejbPostCreate(int i, String s) |
public void | ejbRemove() A container invokes this method before it removes the EJB object
that is currently associated with the instance. |
public void | ejbStore() A container invokes this method to instruct the instance to synchronize
its state by storing it to the underlying database. |
abstract public String | getName() |
abstract public Integer | getNumber() |
public int | getNumberPrimitive() |
public void | setEntityContext(EntityContext ctx) Set the associated entity context. |
abstract public void | setName(String name) |
abstract public void | setNumber(Integer num) |
public void | unsetEntityContext() Unset the associated entity context. |