com.caucho.cloud.notify
Class NotifyService
java.lang.Object
com.caucho.env.service.AbstractResinSubSystem
com.caucho.cloud.notify.NotifyService
- All Implemented Interfaces:
- ResinSubSystem
public class NotifyService
- extends AbstractResinSubSystem
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
START_PRIORITY
public static final int START_PRIORITY
- See Also:
- Constant Field Values
NotifyService
public NotifyService(ResinSystem system)
createAndAddService
public static NotifyService createAndAddService()
getCurrent
public static NotifyService getCurrent()
addListener
public void addListener(NotifyListener listener)
addListener
public void addListener(java.lang.Class<?> type,
NotifyListener listener)
removeListener
public void removeListener(java.lang.Class<?> type,
NotifyListener listener)
notify
public void notify(java.lang.Class<?> type,
java.io.Serializable payload)
getStartPriority
public int getStartPriority()
- Description copied from interface:
ResinSubSystem
- Returns the start priority of the service, used to determine which
services to start first.
- Specified by:
getStartPriority in interface ResinSubSystem- Overrides:
getStartPriority in class AbstractResinSubSystem
start
public void start()
- Description copied from interface:
ResinSubSystem
- Starts the service.
- Specified by:
start in interface ResinSubSystem- Overrides:
start in class AbstractResinSubSystem
toString
public java.lang.String toString()
- Overrides:
toString in class AbstractResinSubSystem