org.mule.lifecycle
Class PrimaryNodeLifecycleNotificationListener
java.lang.Object
org.mule.lifecycle.PrimaryNodeLifecycleNotificationListener
- All Implemented Interfaces:
- ClusterNodeNotificationListener, ServerNotificationListener
public class PrimaryNodeLifecycleNotificationListener
- extends Object
- implements ClusterNodeNotificationListener
This class will start an Startable mule object that must only be started in the primary node.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient Log logger
PrimaryNodeLifecycleNotificationListener
public PrimaryNodeLifecycleNotificationListener(Startable startMeOnPrimaryNodeNotification,
MuleContext muleContext)
register
public void register()
onNotification
public void onNotification(ServerNotification notification)
- Specified by:
onNotification
in interface ServerNotificationListener
unregister
public void unregister()
Copyright © 2003-2013 MuleSoft, Inc.. All Rights Reserved.