Package com.jalios.jcms
Class BasicJSyncListener
- java.lang.Object
-
- com.jalios.jcms.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
-
-
Constructor Summary
Constructors Constructor Description BasicJSyncListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleJSyncEvent(JSyncEvent event)
This methods is called when a JSyncEvent occursboolean
init(Plugin plugin)
Initialize the component with the given plugin configuration
-
-
-
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 interfacePluginComponent
- 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 interfaceJSyncListener
- Parameters:
event
- the JSyncEvent
-
-