com.objectspace.voyager.activation
Interface IActivator
- public abstract interface IActivator
IActivator is the interface that must be implemented by all activators.
- Version:
- 3.0
Method Summary |
Proxy |
activate(java.lang.String memento)
Activate the object that was associated with the specified memento
and return a proxy to the activated object. |
java.lang.String |
getMemento(Proxy proxy)
Return a memento that can later be used to activate the proxy's object. |
getMemento
public java.lang.String getMemento(Proxy proxy)
throws ActivationException
- Return a memento that can later be used to activate the proxy's object.
- Parameters:
proxy
- A proxy to the object.- Throws:
- ActivationException - A memento could not be created.
activate
public Proxy activate(java.lang.String memento)
throws ActivationException
- Activate the object that was associated with the specified memento
and return a proxy to the activated object.
- Parameters:
memento
- The memento that was associated with the object.- Throws:
- ActivationException - The object could not be activated.
(c) Copyright 1997-1999 ObjectSpace, Inc.
14850 Quorum Drive, Suite 500
Dallas, Texas 75240