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:
CoreService
,ServiceController
,DaemonService
- Direct Known Subclasses:
DefaultDaemonService
Abstract base class for
DaemonService
implementations.- Since:
- 5.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
boolean
isExposable
(String transletName) Returns whether the translet can be exposed to the daemon service.Create and return a new session adapter from the daemon service.Methods inherited from class com.aspectran.core.service.AspectranCoreService
afterContextLoaded, beforeContextDestroy, buildActivityContext, configure, configure, destroyActivityContext, doPause, doPause, doResume, doStart, doStop, start, stop
Methods inherited from class com.aspectran.core.service.AbstractCoreService
checkDirectoryStructure, createSchedulerService, getActivityContext, getActivityContextBuilder, getAltClassLoader, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceClassLoader, getServiceController, hasActivityContextBuilder, hasServiceClassLoader, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, setActivityContext, setActivityContextBuilder, setAltClassLoader, setAspectranConfig, setBasePath, setServiceClassLoader, withdrawDerivedService
Methods inherited from class com.aspectran.core.service.AbstractServiceController
clearDerivedService, getLock, getRootService, getServiceName, isActive, isBusy, joinDerivedService, pause, pause, restart, restart, resume, setExposals, setRootService, 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, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceClassLoader, getServiceController, hasServiceClassLoader, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, withdrawDerivedService
Methods inherited from interface com.aspectran.daemon.service.DaemonService
translate, translate
-
Constructor Details
-
AbstractDaemonService
public AbstractDaemonService()
-
-
Method Details
-
isExposable
Description copied from interface:DaemonService
Returns whether the translet can be exposed to the daemon service.- Specified by:
isExposable
in interfaceDaemonService
- Overrides:
isExposable
in classAbstractServiceController
- Parameters:
transletName
- the name of the translet to check- Returns:
- true if the translet can be exposed; false otherwise
-
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()
-