|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An optional interface for the back-end storage peers. If each Freezable objects all corrispond with an object on the back-end, then this interface can help. All methods throw RemoteExceptions due to EJB's bad habits.
| Method Summary | |
void |
freezeFreezable(Freezable object)
Puts the Freezable in cold storage. |
java.io.Serializable |
getIdentifier()
Get the identifier for this instance. |
boolean |
isFrozenAvailable()
|
boolean |
representedBy(Freezable object)
Returns true if this Frozen is represented by the Freezable object. |
Freezable |
thawFreezable()
Gets a Freezable out of cold storage. |
void |
throwOut()
Remove a frozen instance from cold storage |
| Method Detail |
public java.io.Serializable getIdentifier()
throws java.rmi.RemoteException
public boolean isFrozenAvailable()
throws java.rmi.RemoteException
public void freezeFreezable(Freezable object)
throws java.rmi.RemoteException
MismatchedIdentifierException - if the Freezable's identifier doesn't match this object's.CannotFreezeException - if the Freezable can't be frozen for another reasonjava.rmi.RemoteException
public Freezable thawFreezable()
throws java.rmi.RemoteException
CannotThawExceptionjava.rmi.RemoteException
public void throwOut()
throws java.rmi.RemoteException
CannotThrowOutExceptionjava.rmi.RemoteException
public boolean representedBy(Freezable object)
throws java.rmi.RemoteException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||