|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--samples.j2ee.ejb.subclass.parent.ParentBean
ParentBean is a stateless SessionBean. This bean illustrates:
| Constructor Summary | |
ParentBean()
|
|
| Method Summary | |
void |
ejbActivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbCreate()
This method corresponds to the create method in the home interface "ParentHome". |
void |
ejbPassivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbRemove()
This method is required by the EJB Specification, but is not used by this example. |
java.lang.String |
parentMethodOnly()
Sends back a pre-defined message identifying the method. |
java.lang.String |
parentSaysHello()
Sends back a pre-defined message identifying the method. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Sets the session context. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ParentBean()
| Method Detail |
public void ejbActivate()
public void ejbRemove()
public void ejbPassivate()
public void setSessionContext(javax.ejb.SessionContext ctx)
ctx - SessionContext Context for session
public void ejbCreate()
throws javax.ejb.CreateException
ParentHome.create(), the container allocates an instance of
the EJBean and calls ejbCreate().Parentpublic java.lang.String parentSaysHello()
public java.lang.String parentMethodOnly()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||