Package com.aspectran.daemon.service
Class AbstractDaemonService
java.lang.Object
com.aspectran.core.service.AbstractServiceLifeCycle
com.aspectran.core.service.AbstractCoreService
com.aspectran.core.service.DefaultCoreService
com.aspectran.daemon.service.AbstractDaemonService
- All Implemented Interfaces:
CoreService
,ServiceLifeCycle
,DaemonService
- Direct Known Subclasses:
DefaultDaemonService
Abstract base class for
DaemonService
implementations.- Since:
- 5.1.0
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configure
(AspectranConfig aspectranConfig) protected void
protected void
Create and return a new session adapter from the daemon service.Methods inherited from class com.aspectran.core.service.DefaultCoreService
afterContextLoaded, beforeContextDestroy, buildActivityContext, destroyActivityContext, doStart, doStop, start, stop
Methods inherited from class com.aspectran.core.service.AbstractCoreService
buildSchedulerService, getActivityContext, getActivityContextBuilder, getAltClassLoader, getApplicationAdapter, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceClassLoader, getServiceLifeCycle, getServiceName, hasActivityContextBuilder, hasServiceClassLoader, isAcceptable, isDerived, setActivityContext, setActivityContextBuilder, setAltClassLoader, setAspectranConfig, setBasePath, setServiceAcceptables, setServiceClassLoader
Methods inherited from class com.aspectran.core.service.AbstractServiceLifeCycle
clearDerivedServices, getLock, getParentService, getRootService, isActive, isBusy, isOrphan, isRootService, joinDerivedService, leaveFromRootService, pause, pause, restart, restart, resume, setServiceStateListener, withdrawDerivedService
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aspectran.core.service.CoreService
getActivityContext, getAltClassLoader, getApplicationAdapter, getAspectranConfig, getBasePath, getDefaultActivity, getParentService, getRootService, getSchedulerService, getServiceClassLoader, getServiceLifeCycle, hasServiceClassLoader, isAcceptable, isDerived, isOrphan, isRootService
Methods inherited from interface com.aspectran.daemon.service.DaemonService
translate, translate
-
Method Details
-
newSessionAdapter
Description copied from interface:DaemonService
Create and return a new session adapter from the daemon service.- Specified by:
newSessionAdapter
in interfaceDaemonService
- Returns:
- the session adapter
-
createSessionManager
protected void createSessionManager() -
destroySessionManager
protected void destroySessionManager() -
configure
- Overrides:
configure
in classDefaultCoreService
-