Methods Summary |
---|
public void | ejbActivate()
System.out.println("ProfileManagerBean activated.");
|
public void | ejbCreate()No-argument create() -- nothing to initialize in this case.
System.out.println("ProfileManagerBean created.");
|
public void | ejbPassivate()
System.out.println("ProfileManagerBean passivated.");
|
public void | ejbRemove()
System.out.println("ProfileManagerBean removed.");
|
public com.oreilly.jent.annotation.ejb.stateless.ProfileBean | getProfile(java.lang.String name)Get a profile for a named person. Throws NoSuchPersonException if the
named person cannot be found in the persistent storage used to store
profile information.
// Here, we just create one of our serializable Profile objects and return
// it (i.e., no persistence of profile data is provided).
ProfileBean profile = new com.oreilly.jent.annotation.ejb.stateless.ProfileBean(name);
return profile;
|
public void | setSessionContext(javax.ejb.SessionContext context)
System.out.println("ProfileManagerBean context set.");
mContext = context;
|