Modifier and Type | Method and Description |
---|---|
BusinessPolicyAccessBean |
findPolicy(java.lang.String policyId)
Gets the BusinessPolicyAccessBean with the given policyId
|
static java.lang.String |
getCommandClassNameFromInterface(java.lang.String commandInterfaceName)
Gets the default implementation of an interface.
|
BusinessPolicyAccessBean[] |
getPoliciesByTypeAndStore(java.lang.String astrType,
java.lang.Integer anStoreId)
Gets Business Policy beans by type and store path and store group.
|
BusinessPolicyRegistryEntry |
getPolicyRegistryEntry(java.lang.String policyId)
Returns the BusinessPolicyRegistryEntry associated with a policy ID
|
BusinessPolicyRegistryEntry[] |
getPolicyRegistryEntryByTypeAndStore(java.lang.String astrType,
java.lang.Integer anStoreId)
Gets the BusinessPolicyRegistryEntry by type and store path and store group.
|
void |
initialize()
Initializes the BusinessPolicyRegistry.
|
void |
refresh()
Refreshes the Business Policy registry from the database.
|
void |
refresh(java.lang.String policyId)
Refreshes the registry entry for a particular policy ID.
|
void |
removeAllElements()
Removes all Elements in this cache.
|
boolean |
removeElement(BusinessPolicyRegistryEntry ta)
Removes a BusinessPolicyRegistryEntry from the cache.
|
static BusinessPolicyRegistry |
singleton()
Returns a singleton BusinessPolicyRegistry object
|
public BusinessPolicyAccessBean findPolicy(java.lang.String policyId) throws ECException
policyId
- policy IDECException
public static java.lang.String getCommandClassNameFromInterface(java.lang.String commandInterfaceName)
commandInterfaceName
- command interface namepublic BusinessPolicyRegistryEntry getPolicyRegistryEntry(java.lang.String policyId) throws ECException
policyId
- policy ID of the business policyECException
public BusinessPolicyAccessBean[] getPoliciesByTypeAndStore(java.lang.String astrType, java.lang.Integer anStoreId) throws ECException
astrType
- business typeanStoreId
- store IDECException
public BusinessPolicyRegistryEntry[] getPolicyRegistryEntryByTypeAndStore(java.lang.String astrType, java.lang.Integer anStoreId) throws ECException
astrType
- business typeanStoreId
- store IDECException
public void initialize() throws java.lang.Exception
initialize
in interface Registry
java.lang.Exception
public void refresh() throws java.lang.Exception
public void refresh(java.lang.String policyId) throws java.lang.Exception
policyId
- policy ID of business policyjava.lang.Exception
public void removeAllElements()
public boolean removeElement(BusinessPolicyRegistryEntry ta)
ta
- business policy registry entry to be removed from cachepublic static BusinessPolicyRegistry singleton()