public abstract class AbstractDaemonService extends AbstractService implements DaemonService, java.lang.Runnable
Title: Service Event Fabric Core
Description: Base class for all descendants of the DaemonService
.
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
Modifier and Type | Method and Description |
---|---|
void |
checkServiceIsNotBlocked() |
void |
resume()
Resumes the suspended service.
|
void |
run() |
void |
setThreadLocalEventIdentityPlugin(java.lang.ThreadLocal threadLocalEventIdentityPlugin,
EventIdentityPlugin defaultEimPlugin) |
void |
start()
Starts the service.
|
void |
stop()
Stops the service.
|
void |
suspend()
Suspends the service.
|
destroy, getStartupDir, init, isNativeContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, getMajorBuild, getMajorVersion, getMinorBuild, getMinorVersion, getVersion, init
public void run()
run
in interface DaemonService
run
in interface java.lang.Runnable
public void start() throws ServiceFrameworkException
Service
start
in interface Service
start
in class AbstractService
ServiceFrameworkException
- if some error occurs.public void suspend() throws ServiceFrameworkException
Service
suspend
in interface Service
suspend
in class AbstractService
ServiceFrameworkException
- if some error occurs.public void resume() throws ServiceFrameworkException
Service
resume
in interface Service
resume
in class AbstractService
ServiceFrameworkException
- if some error occurs.public void stop() throws ServiceFrameworkException
Service
stop
in interface Service
stop
in class AbstractService
ServiceFrameworkException
- if some error occurs.public void setThreadLocalEventIdentityPlugin(java.lang.ThreadLocal threadLocalEventIdentityPlugin, EventIdentityPlugin defaultEimPlugin)
public void checkServiceIsNotBlocked() throws DaemonServiceBlockedException
DaemonServiceBlockedException
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.