|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IShirakoContainerDatabase
Interface for container-level databases. Defines the functions necessary for bootstrapping and recovering a shirako container.
| Method Summary | |
|---|---|
void |
addActor(IActor actor)
Adds a new actor record to the database |
void |
addProtocols(java.util.Properties p)
Adds the protocols record to the database |
void |
addTime(java.util.Properties p)
Adds the time record to the database |
java.util.Vector<java.util.Properties> |
getActor(java.lang.String name)
Retrieves the specified actor record |
java.util.Vector<java.util.Properties> |
getActors()
Retrieves the actors defined in this container |
java.util.Vector<java.util.Properties> |
getActors(java.lang.String name,
int type)
Retrieves the actors defined in this container |
java.util.Vector<java.util.Properties> |
getProtocols()
Retrieves the protocols record from the database |
java.util.Vector<java.util.Properties> |
getTime()
Retrieves the time record from the database |
void |
removeActor(java.lang.String actorName)
Removes the specified actor record |
void |
removeActorDatabase(java.lang.String actorName)
Destroy the database for this actor. |
void |
updateActor(IActor actor)
Updates the actor's database record |
| Methods inherited from interface orca.container.api.IContainerDatabase |
|---|
addContainerProperties, getContainerProperties, getLogger, initialize, setLogger, setResetState, updateContainerProperties |
| Methods inherited from interface orca.shirako.api.IInitialize |
|---|
initialize |
| Methods inherited from interface orca.shirako.api.ISerialize |
|---|
reset, save, save |
| Method Detail |
|---|
java.util.Vector<java.util.Properties> getActors()
throws java.lang.Exception
java.lang.Exception
java.util.Vector<java.util.Properties> getActors(java.lang.String name,
int type)
throws java.lang.Exception
name - actor name query stringtype - actor type (seed AbstractActor.Type*)
java.lang.Exception
java.util.Vector<java.util.Properties> getActor(java.lang.String name)
throws java.lang.Exception
name - actor name
java.lang.Exception
void addActor(IActor actor)
throws java.lang.Exception
actor - actor to be added
java.lang.Exception
void removeActor(java.lang.String actorName)
throws java.lang.Exception
actorName - actor name
java.lang.Exception
void removeActorDatabase(java.lang.String actorName)
throws java.lang.Exception
actorName - actor name
java.lang.Exception
void updateActor(IActor actor)
throws java.lang.Exception
actor -
java.lang.Exception
void addTime(java.util.Properties p)
throws java.lang.Exception
p -
java.lang.Exception
java.util.Vector<java.util.Properties> getTime()
throws java.lang.Exception
java.lang.Exception
void addProtocols(java.util.Properties p)
throws java.lang.Exception
p -
java.lang.Exception
java.util.Vector<java.util.Properties> getProtocols()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||