| |
|
| java.lang.Object org.objectweb.jonas.jtests.beans.local.TargetSL
All known Subclasses: org.objectweb.jonas.jtests.beans.local.TargetSF,
TargetSL | public class TargetSL implements SessionBean(Code) | | Stateless Session
author: Philippe Durieux, Philippe Coq |
createdViaCreateXX | public boolean createdViaCreateXX(Code) | | |
createdViaCreateYY | public boolean createdViaCreateYY(Code) | | |
ejbContext | SessionContext ejbContext(Code) | | |
logger | protected static Logger logger(Code) | | |
ejbActivate | public void ejbActivate()(Code) | | 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.
|
ejbCreate | public void ejbCreate() throws CreateException(Code) | | Check allowed and disallowed methods (See spec EJB 2.1 p 100)
throws: CreateException - Failure to create a session EJB object. |
ejbPassivate | public void ejbPassivate()(Code) | | A container invokes this method on an instance before the instance
becomes disassociated with a specific EJB object.
|
ejbRemove | public void ejbRemove()(Code) | | A container invokes this method before it ends the life of the session object.
This happens as a result of a client's invoking a remove operation, or when a
container decides to terminate the session object after a timeout.
This method is called with no transaction context.
throws: EJBException - Thrown by the method to indicate a failure caused bya system-level error. |
getNumber | public int getNumber()(Code) | | getNumber
Not called
|
getString | public String getString()(Code) | | getString
Not called
|
getTen | public int getTen()(Code) | | getTen
|
getTwenty | public int getTwenty()(Code) | | getTwenty
|
isCreatedViaCreateXX | public boolean isCreatedViaCreateXX()(Code) | | isCreatedViaCreateXX
Not called
|
setSessionContext | public void setSessionContext(SessionContext ctx)(Code) | | Set the associated session context. The container calls this method
after the instance creation.
The enterprise Bean instance should store the reference to the context
object in an instance variable.
This method is called with no transaction context.
Parameters: sessionContext - A SessionContext interface for the instance. throws: EJBException - Thrown by the method to indicate a failure caused bya system-level error. |
|
|
|