com.ibm.commerce.campaigns.cache

Class CampaignsCachingComponent

  • java.lang.Object
    • com.ibm.commerce.campaigns.cache.CampaignsCachingComponent
  • All Implemented Interfaces:
    com.ibm.commerce.server.ComponentConfiguration


    public class CampaignsCachingComponent
    extends java.lang.Object
    implements com.ibm.commerce.server.ComponentConfiguration
    This component class is used to enable Dynamic Caching on Marketing Campaign.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CLASSNAME
      The name of this class.
      static java.lang.String COPYRIGHT
      IBM Copyright field.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void destroy()
      This destroy method will be called when the request servlet is stopped or destroyed.
      void enable(boolean val)
      This method dynamically enables or disables a component.
      void init(org.w3c.dom.Element node)
      This method initializes the component, it will be called during initialization of the Request Servlet.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The name of this class.
        See Also:
        Constant Field Values
      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CampaignsCachingComponent

        public CampaignsCachingComponent()
    • Method Detail

      • destroy

        public void destroy()
        This destroy method will be called when the request servlet is stopped or destroyed.
        Specified by:
        destroy in interface com.ibm.commerce.server.ComponentConfiguration
      • enable

        public void enable(boolean val)
                    throws java.lang.Exception
        This method dynamically enables or disables a component.
        Specified by:
        enable in interface com.ibm.commerce.server.ComponentConfiguration
        Parameters:
        val - True if component should be enabled; false otherwise.
        Throws:
        java.lang.Exception
      • init

        public void init(org.w3c.dom.Element node)
                  throws java.lang.Exception
        This method initializes the component, it will be called during initialization of the Request Servlet.
        Specified by:
        init in interface com.ibm.commerce.server.ComponentConfiguration
        Parameters:
        node - A DOM element node with the parameters for the component, null if no property is present.
        Throws:
        java.lang.Exception