orca.sharp.plugins
Class ServerPlugin
java.lang.Object
orca.shirako.plugins.ShirakoPlugin
orca.sharp.plugins.ServerPlugin
- All Implemented Interfaces:
- IInitialize, IRecover, ISerialize, IShirakoPlugin
public class ServerPlugin
- extends ShirakoPlugin
|
Method Summary |
KeyManager |
getKeyManager()
|
void |
initialize()
Initialization entry point |
void |
reset(java.util.Properties p)
De-serializes the object from the given properties list. |
void |
revisit(IActor actor,
java.util.Properties p)
Recovers state of the component using a previously saved properties list
and a references to the actor this component belongs to. |
void |
save(java.util.Properties p)
Serializes the object into the given properties list. |
void |
setKeyManager(KeyManager keyManager)
|
| Methods inherited from class orca.shirako.plugins.ShirakoPlugin |
actorAdded, configurationComplete, createSlice, getActor, getConfig, getDatabase, getFactory, getKeyStore, getLogger, getResultCode, initializeKeyStore, loadFactories, processJoinComplete, processLeaveComplete, processModifyComplete, processProbeComplete, processRecoverComplete, releaseSlice, reset, restartConfigurationActions, revisit, revisit, save, setActor, setConfig, setDatabase, setLogger, validateIncoming |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyKeyManagerClass
public static java.lang.String PropertyKeyManagerClass
PropertyKeyManager
public static java.lang.String PropertyKeyManager
keyManager
protected KeyManager keyManager
ServerPlugin
public ServerPlugin()
ServerPlugin
public ServerPlugin(Actor actor,
IDatabase db,
Config config,
KeyManager keyManager)
initialize
public void initialize()
throws java.lang.Exception
- Description copied from class:
ShirakoPlugin
- Initialization entry point
- Specified by:
initialize in interface IInitialize- Overrides:
initialize in class ShirakoPlugin
- Throws:
java.lang.Exception
save
public void save(java.util.Properties p)
throws java.lang.Exception
- Description copied from interface:
ISerialize
- Serializes the object into the given properties list.
- Specified by:
save in interface ISerialize- Overrides:
save in class ShirakoPlugin
- Parameters:
p - properties list to serialize the object into
- Throws:
java.lang.Exception
reset
public void reset(java.util.Properties p)
throws java.lang.Exception
- Description copied from interface:
ISerialize
- De-serializes the object from the given properties list.
- Specified by:
reset in interface ISerialize- Overrides:
reset in class ShirakoPlugin
- Parameters:
p - properties list containing the serialized version of
the object
- Throws:
java.lang.Exception
revisit
public void revisit(IActor actor,
java.util.Properties p)
throws java.lang.Exception
- Description copied from interface:
IRecover
- Recovers state of the component using a previously saved properties list
and a references to the actor this component belongs to. The component
can use the actor object to access other objects necessary for its
complete recovery.
- Specified by:
revisit in interface IRecover- Overrides:
revisit in class ShirakoPlugin
- Parameters:
actor - actor object the component belongs top - properties list containing configuration data about the
component
- Throws:
java.lang.Exception
getKeyManager
public KeyManager getKeyManager()
setKeyManager
public void setKeyManager(KeyManager keyManager)
Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.