Class BasicJSyncListener

  • All Implemented Interfaces:
    PluginComponent, JSyncListener

    public class BasicJSyncListener
    extends java.lang.Object
    implements JSyncListener, PluginComponent
    This class is a neutral implementation of JSyncListener. It is intended to be used to developp custom JSyncListener. It avoids the sub-class to implement not used methods of StoreListener.
    Since:
    jcms-9.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleJSyncEvent​(JSyncEvent event)
      This methods is called when a JSyncEvent occurs
      boolean init​(Plugin plugin)
      Initialize the component with the given plugin configuration
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BasicJSyncListener

        public BasicJSyncListener()
    • Method Detail

      • init

        public boolean init​(Plugin plugin)
        Description copied from interface: PluginComponent
        Initialize the component with the given plugin configuration
        Specified by:
        init in interface PluginComponent
        Parameters:
        plugin - the calling plugin
        Returns:
        true if the component has been correctly initialized.
        Since:
        jcms-9.0.0
        See Also:
        PluginComponent.init(Plugin)
      • handleJSyncEvent

        public void handleJSyncEvent​(JSyncEvent event)
        Description copied from interface: JSyncListener
        This methods is called when a JSyncEvent occurs
        Specified by:
        handleJSyncEvent in interface JSyncListener
        Parameters:
        event - the JSyncEvent