| java.lang.Object org.objectweb.jonas.jtests.beans.annuaire.PersonneEC2
All known Subclasses: org.objectweb.jonas.jtests.beans.annuaire.PersonneEC,
PersonneEC2 | abstract public class PersonneEC2 implements EntityBean,TimedObject(Code) | | This is an entity bean with "container managed persistence version 2.x".
author: Philippe Durieux, Helene Joanin (jonas team) |
ejbContext | EntityContext ejbContext(Code) | | |
logger | protected static Logger logger(Code) | | |
ejbActivate | public void ejbActivate()(Code) | | This method is called when the instance is activated from its "passive" state.
The instance should acquire any resource that it has released earlier in the
ejbPassivate() method.
This method is called with no transaction context.
exception: EJBException - - Thrown if the instance could not perform the function requested by the container |
ejbLoad | public void ejbLoad()(Code) | | A container invokes this method to instruct the instance to synchronize
its state by loading it state from the underlying database.
This method always executes in the proper transaction context.
throws: EJBException - Thrown by the method to indicate a failure caused bya system-level error. |
ejbPassivate | public void ejbPassivate()(Code) | | This method is called before the instance enters the "passive" state.
The instance should release any resources that it can re-acquire later in the
ejbActivate() method.
After the passivate method completes, the instance must be in a state that
allows the container to use the Java Serialization protocol to externalize
and store away the instance's state.
This method is called with no transaction context.
exception: EJBException - - Thrown if the instance could not perform the function requested by the container |
ejbPostCreate | public void ejbPostCreate(String nom, String numero) throws CreateException(Code) | | There must be an ejbPostCreate par ejbCreate method
throws: CreateException - Failure to create an entity EJB object. |
ejbPostCreate | public void ejbPostCreate(String nom, String numero, boolean t) throws CreateException(Code) | | |
ejbRemove | public void ejbRemove() throws RemoveException(Code) | | A container invokes this method before it removes the EJB object
that is currently associated with the instance. This method is
invoked when a client invokes a remove operation on the enterprise Bean's
home interface or the EJB object's remote interface. This method
transitions the instance from the ready state to the pool of available
instances.
This method is called in the transaction context of the remove operation.
throws: RemoveException - The enterprise Bean does not allow destruction of the object. throws: EJBException - - Thrown by the method to indicate a failure caused by a system-levelerror. |
ejbStore | public void ejbStore()(Code) | | A container invokes this method to instruct the instance to synchronize
its state by storing it to the underlying database.
This method always executes in the proper transaction context.
throws: EJBException - Thrown by the method to indicate a failure caused bya system-level error. |
ejbStoreCalled | public boolean ejbStoreCalled()(Code) | | |
ejbTimeout | public void ejbTimeout(Timer timer)(Code) | | A timer is expired.
|
getNumeroNTX | public String getNumeroNTX()(Code) | | getNumeroNTX / Tx Attribute = Supports
|
getTimerCount | abstract public int getTimerCount()(Code) | | |
getTimerIdent | abstract public int getTimerIdent()(Code) | | |
isDirty | public boolean isDirty()(Code) | | |
isModified | public boolean isModified()(Code) | | |
isModifiedCalled | public boolean isModifiedCalled()(Code) | | |
reset | public void reset()(Code) | | |
setEntityContext | public void setEntityContext(EntityContext ctx)(Code) | | Set the associated entity context. The container invokes this method
on an instance after the instance has been created.
This method is called in an unspecified transaction context.
Parameters: ctx - - An EntityContext interface for the instance. The instanceshould store the reference to the context in an instance variable. throws: EJBException - Thrown by the method to indicate a failure caused by asystem-level error. |
setNumeroNTX | public void setNumeroNTX(String s)(Code) | | setNumeroNTX / Tx Attribute = Supports
|
setTimer | public int setTimer(int dur, int period)(Code) | | |
setTimerCount | abstract public void setTimerCount(int cnt)(Code) | | |
setTimerIdent | abstract public void setTimerIdent(int id)(Code) | | |
unsetEntityContext | public void unsetEntityContext()(Code) | | Unset the associated entity context. The container calls this method
before removing the instance.
This is the last method that the container invokes on the instance.
The Java garbage collector will eventually invoke the finalize() method
on the instance.
This method is called in an unspecified transaction context.
throws: EJBException - Thrown by the method to indicate a failure caused by asystem-level error. |
|
|