org.erights.e.extern.persist
Class SwissRetainer
java.lang.Object
  |
  +--org.erights.e.extern.timer.Retainer
        |
        +--org.erights.e.extern.persist.SwissRetainer
- All Implemented Interfaces: 
- Amplifiable, Marker, Persistent, Runnable, Serializable
- public class SwissRetainer- extends Retainer- implements Amplifiable
Untamed:  A Retainer that also registers the payload in the SwissTable using the
 swissBase.
- Author:
- Mark S. Miller
- See Also:
- Serialized Form
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
serialVersionUID
static final long serialVersionUID
SwissRetainerMaker
private static final StaticMaker SwissRetainerMaker
myPayload
private Object myPayload
myIdentityMgr
private IdentityMgr myIdentityMgr
mySwissBase
private BigInteger mySwissBase
SwissRetainer
public SwissRetainer(Timer optTimer,
                     long optExpirationDate,
                     Object payload,
                     IdentityMgr identityMgr,
                     BigInteger swissBase)
              throws MalformedURLException
- Enabled:
 
init
protected void init(FlexMap retainers)
- Registers the payload in the SwissTable using the swissBase.
 
 After construction or unserialization, the SwissRetainer isn't in a
 valid state until init() is called. We don't automate this with
 readResolve() in order to avoid a circular unserialization bug.
 
 
- 
- Overrides:
- initin class- Retainer
 
- 
- Parameters:
- retainers- This retainer will remove itself as a key from
                  retainers when it expires or is invoked.
 
run
public void run()
- Enabled:
 
- 
- Specified by:
- runin interface- Runnable
- Overrides:
- runin class- Retainer
 
- 
- See Also:
- java.lang.Thread#run()
 
optSealedDispatch
public SealedBox optSealedDispatch(Brand brand)
- Enabled:
 
- 
- Specified by:
- optSealedDispatchin interface- Amplifiable
 
- 
- Parameters:
- brand-
- Returns:
 
comments? 