public class GlobalProperties extends ESChangeListenerAdapter implements LoadableModule
LoadableModule.FatalException
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
SYS_LABELS |
static java.lang.String |
SYS_POLICY_FAULTHANDLER |
static java.lang.String |
SYS_POLICY_REQUEST |
static java.lang.String |
SYS_POLICY_RESPONSE |
Constructor and Description |
---|
GlobalProperties() |
Modifier and Type | Method and Description |
---|---|
void |
childAdded(Entity entity)
A child Entity has been added to a parent Entity to which we are
listening.
|
void |
childDeleted(ESPK parentPK,
ESPK childPK)
A child Entity has been removed from a parent Entity to which we
are listening.
|
void |
childUpdated(Entity entity)
A child Entity has been added to the parent Entity to which we are
listening.
|
void |
configure(ConfigContext pack,
Entity object)
Configure the loadable module.
|
boolean |
containsKey(java.lang.String key) |
boolean |
containsValue(java.lang.Object val) |
void |
deregisterListener(EntityStore store) |
java.lang.Object |
get(java.lang.String key) |
java.util.Set<java.lang.String> |
getAllKeys() |
static GlobalProperties |
getInstance() |
java.lang.String |
getLocalizedKey(java.lang.String key) |
ESPK |
getPK() |
void |
load(LoadableModule parent,
java.lang.String entityType)
Load a module into the process.
|
void |
putRef(EntityStore es,
java.lang.String key,
ESPK val) |
void |
registerListener(EntityStore es,
Entity e) |
void |
unload()
Unload the module from the process.
|
entityDeleted, entityUpdated
public static final java.lang.String SYS_POLICY_FAULTHANDLER
public static final java.lang.String SYS_POLICY_REQUEST
public static final java.lang.String SYS_POLICY_RESPONSE
public static final java.lang.String[] SYS_LABELS
public ESPK getPK()
public void unload()
LoadableModule
unload
in interface LoadableModule
public void load(LoadableModule parent, java.lang.String entityType)
LoadableModule
load
in interface LoadableModule
parent
- Loadable modules may nest - @parent provides access to the containing LM, or is null for a top-level module.entityType
- - The actual type of the entity that caused this class to be constructed.public void configure(ConfigContext pack, Entity object) throws EntityStoreException
LoadableModule
configure
in interface LoadableModule
pack
- The ConfigurationContext in which this module is configured. Use this to find other components.object
- The Entity containing configuration related to this specific module.EntityStoreException
- If the configuration fails to load or is incompatible with the module.public java.lang.Object get(java.lang.String key)
public static GlobalProperties getInstance()
public boolean containsKey(java.lang.String key)
public java.util.Set<java.lang.String> getAllKeys()
public void childAdded(Entity entity)
ESChangeListener
childAdded
in interface ESChangeListener
childAdded
in class ESChangeListenerAdapter
entity
- The child entity in questionpublic void childUpdated(Entity entity)
ESChangeListener
childUpdated
in interface ESChangeListener
childUpdated
in class ESChangeListenerAdapter
entity
- The child entity in questionpublic void childDeleted(ESPK parentPK, ESPK childPK)
ESChangeListener
childDeleted
in interface ESChangeListener
childDeleted
in class ESChangeListenerAdapter
parentPK
- The parent identifierchildPK
- The deleted child identifierpublic void registerListener(EntityStore es, Entity e) throws EntityStoreException
EntityStoreException
public void deregisterListener(EntityStore store) throws EntityStoreException
EntityStoreException
public void putRef(EntityStore es, java.lang.String key, ESPK val)
public boolean containsValue(java.lang.Object val)
public java.lang.String getLocalizedKey(java.lang.String key)
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel