|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.ecs.grimoires.server.lifetime.LifetimeManager
| Field Summary |
| Constructor Summary | |
protected |
LifetimeManager()
|
| Method Summary | |
void |
addAutoMetadata(Vector results,
EntityReference ref)
Add automatically generated metadata to the result of Get_entityMetadata. |
void |
attatchDefaultTerminationTimeMetadata(String entityKey,
String entityType)
Attach a default termination time metadata to an entity. |
static LifetimeManager |
getInstance()
This must be synchronized. |
boolean |
isEntityDeprecated(String entityKey)
|
static boolean |
isTerminationActionValid(String action)
Check whether the action is a valid termination action. |
void |
onMetadataType(EntityReference entity,
Metadata metadata)
Perform the actions triggered by the type of the metadata on attaching a metadata to an entity. |
void |
publishGrimoiresService()
Publish a service representing this Grimoires instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected LifetimeManager()
| Method Detail |
public void publishGrimoiresService()
public static LifetimeManager getInstance()
public void onMetadataType(EntityReference entity,
Metadata metadata)
entity - metadata -
Exception
public void attatchDefaultTerminationTimeMetadata(String entityKey,
String entityType)
entityKey - entityType -
public void addAutoMetadata(Vector results,
EntityReference ref)
results - A vector of MetadataInfo.ref - The entity reference.public static boolean isTerminationActionValid(String action)
action - a termination actionpublic boolean isEntityDeprecated(String entityKey)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||