|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.walend.lyophil.ejb.ejbbeans.FreezerEJBBean
Field Summary | |
private javax.ejb.SessionContext |
ctx
|
static java.lang.String |
EJBFREEZERDELEGATE
|
private Freezer |
freezer
|
Constructor Summary | |
FreezerEJBBean()
|
Method Summary | |
int |
count()
Returns the number of elements in this collection. |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
void |
freeze(Freezable victem)
Take the Thawed victem and put it in cold storage. |
SetOfFreezables |
getAll()
Returns a lyophilizer.collection.Set of Freezables. |
boolean |
isAvailable(java.io.Serializable identifier)
Return true if identifier is available in the freezer |
boolean |
isEmpty()
Returns true if this collection contains no elements. |
void |
setSessionContext(javax.ejb.SessionContext context)
|
Freezable |
thaw(java.io.Serializable identifier)
For the identifier, return a Freezable object containing the data. |
void |
throwOut(java.io.Serializable identifier)
Remote the Freezable identified by identifier from the persistent storage |
void |
throwOutAll()
Throw out everything in the Freezer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String EJBFREEZERDELEGATE
private Freezer freezer
private javax.ejb.SessionContext ctx
Constructor Detail |
public FreezerEJBBean()
Method Detail |
public void setSessionContext(javax.ejb.SessionContext context)
setSessionContext
in interface javax.ejb.SessionBean
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void ejbCreate() throws javax.ejb.CreateException
public void freeze(Freezable victem)
<{CannotFreezeException}>
public Freezable thaw(java.io.Serializable identifier) throws NotInFreezerException
<{CannotThawException}>
NotInFreezerException
public void throwOut(java.io.Serializable identifier) throws NotInFreezerException
<{CannotThrowOutException}>
NotInFreezerException
public boolean isAvailable(java.io.Serializable identifier)
<{PersistenceFailureException}>
public void throwOutAll()
public SetOfFreezables getAll()
<{PersistenceFailureException}>
public int count()
public boolean isEmpty()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |