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, entityUpdatedpublic 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()
LoadableModuleunload in interface LoadableModulepublic void load(LoadableModule parent, java.lang.String entityType)
LoadableModuleload in interface LoadableModuleparent - 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
LoadableModuleconfigure in interface LoadableModulepack - 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)
ESChangeListenerchildAdded in interface ESChangeListenerchildAdded in class ESChangeListenerAdapterentity - The child entity in questionpublic void childUpdated(Entity entity)
ESChangeListenerchildUpdated in interface ESChangeListenerchildUpdated in class ESChangeListenerAdapterentity - The child entity in questionpublic void childDeleted(ESPK parentPK, ESPK childPK)
ESChangeListenerchildDeleted in interface ESChangeListenerchildDeleted in class ESChangeListenerAdapterparentPK - The parent identifierchildPK - The deleted child identifierpublic void registerListener(EntityStore es, Entity e) throws EntityStoreException
EntityStoreExceptionpublic void deregisterListener(EntityStore store) throws EntityStoreException
EntityStoreExceptionpublic 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