Methods Summary |
---|
public void | ejbActivate()No need for us to activate anything in this bean, but we need to
provide an implementation.
// Session bean methods
System.out.println("ProfileBean activated.");
|
public void | ejbCreate()Create method (corresponds to each create() method on the
home interface, ProfileHome). Nothing to initialize in this case.
System.out.println("Nameless ProfileBean created.");
|
public void | ejbCreate(java.lang.String name)Create method with name of profile owner.
mName = name;
System.out.println("ProfileBean created for " + mName + ".");
|
public void | ejbPassivate()No resources to release on passivation...
System.out.println("ProfileBean passivated.");
|
public void | ejbRemove()Nothing to do on a remove.
System.out.println("ProfileBean removed.");
|
public java.lang.String | getEntry(java.lang.String key)
return mEntries.getProperty(key);
|
public java.lang.String | getName()
return mName;
|
public void | setEntry(java.lang.String key, java.lang.String value)
mEntries.put(key, value);
|
public void | setName(java.lang.String name)
mName = name;
|
public void | setSessionContext(SessionContext context)Get context from container.
System.out.println("ProfileBean context set.");
mContext = context;
|