public class EmarketingSpotInvocationRegistry
extends java.lang.Object
implements com.ibm.commerce.registry.Registry
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CAMPAIGN_ESPOT_INVOCATION_CONFIG_XML
The XML file used to configure the e-Marketing Spot invocations for the site.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
EmarketingSpotInvocationRegistry() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
getEMarketingSpotInvokerEntries(java.lang.Integer storeId,
java.lang.String commandName)
Returns a Collection of EMarketingSpotInvoker objects that represent the EMarketingSpots a command will invoke.
|
static EmarketingSpotInvocationRegistry |
getInstance()
Returns an instance of this class.
|
void |
initialize()
Initializes the registry by loading the campaigns/cache/EmarketingSpotInvocationList.xml file found in the classpath.
|
void |
refresh()
Refreshes the registry.
|
public static final java.lang.String CAMPAIGN_ESPOT_INVOCATION_CONFIG_XML
public static final java.lang.String COPYRIGHT
public java.util.Collection getEMarketingSpotInvokerEntries(java.lang.Integer storeId, java.lang.String commandName)
storeId
- The store ID underwhich the command is running.commandName
- The name of the command that is to be executed.public static EmarketingSpotInvocationRegistry getInstance()
public void initialize() throws java.lang.Exception
initialize
in interface com.ibm.commerce.registry.Registry
java.lang.Exception
- thrown when the registry fails to initialize.public void refresh() throws java.lang.Exception
refresh
in interface com.ibm.commerce.registry.Registry
java.lang.Exception
- thrown when the registry fails to refresh.