Package com.aspectran.daemon.service
Class AbstractDaemonService
java.lang.Object
com.aspectran.core.service.AbstractServiceController
com.aspectran.core.service.AbstractCoreService
com.aspectran.core.service.AspectranCoreService
com.aspectran.daemon.service.AbstractDaemonService
- All Implemented Interfaces:
com.aspectran.core.service.CoreService,com.aspectran.core.service.ServiceController,DaemonService
- Direct Known Subclasses:
DefaultDaemonService
public abstract class AbstractDaemonService
extends com.aspectran.core.service.AspectranCoreService
implements DaemonService
Abstract base class for
DaemonService implementations.- Since:
- 5.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidbooleanisExposable(String transletName) Returns whether the translet can be exposed to the daemon service.com.aspectran.core.adapter.SessionAdapterCreate and return a new session adapter from the daemon service.Methods inherited from class com.aspectran.core.service.AspectranCoreService
afterContextLoaded, beforeContextDestroy, buildActivityContext, destroyActivityContext, doPause, doPause, doResume, doStart, doStop, prepare, start, stopMethods inherited from class com.aspectran.core.service.AbstractCoreService
checkDirectoryStructure, createSchedulerService, getActivityContext, getActivityContextBuilder, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, getSiblingsClassLoader, hasActivityContextBuilder, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, setActivityContext, setActivityContextBuilder, setAspectranConfig, setBasePath, withdrawDerivedServiceMethods inherited from class com.aspectran.core.service.AbstractServiceController
clearDerivedService, getLock, getRootService, getServiceName, isActive, isBusy, joinDerivedService, pause, pause, restart, restart, resume, setExposals, setRootService, setServiceStateListener, withdrawDerivedServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.aspectran.core.service.CoreService
getActivityContext, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, getSiblingsClassLoader, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, withdrawDerivedServiceMethods inherited from interface com.aspectran.daemon.service.DaemonService
translate, translate
-
Constructor Details
-
AbstractDaemonService
public AbstractDaemonService()
-
-
Method Details
-
isExposable
Description copied from interface:DaemonServiceReturns whether the translet can be exposed to the daemon service.- Specified by:
isExposablein interfaceDaemonService- Overrides:
isExposablein classcom.aspectran.core.service.AbstractServiceController- Parameters:
transletName- the name of the translet to check- Returns:
- true if the translet can be exposed; false otherwise
-
newSessionAdapter
public com.aspectran.core.adapter.SessionAdapter newSessionAdapter()Description copied from interface:DaemonServiceCreate and return a new session adapter from the daemon service.- Specified by:
newSessionAdapterin interfaceDaemonService- Returns:
- the session adapter
-
initSessionManager
protected void initSessionManager() -
destroySessionManager
protected void destroySessionManager()
-