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
The Class DefaultDaemonService.- Since:
- 5.1.0
-
-
Constructor Summary
Constructors Constructor Description AbstractDaemonService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddestroySessionManager()protected voidinitSessionManager()booleanisExposable(java.lang.String transletName)Returns whether or not the translet can be exposed to the daemon service.com.aspectran.core.adapter.SessionAdapternewSessionAdapter()Create and return a new session adapter from the daemon service.-
Methods inherited from class com.aspectran.core.service.AspectranCoreService
afterContextLoaded, beforeContextDestroy, doPause, doPause, doResume, doStart, doStop
-
Methods inherited from class com.aspectran.core.service.AbstractCoreService
destroyActivityContext, determineBasePath, getActivityContext, getAspectranClassLoader, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, loadActivityContext, prepare, setActivityContext, setBasePath, setExposals, withdrawDerivedService
-
Methods inherited from class com.aspectran.core.service.AbstractServiceController
clearDerivedService, getLock, getServiceName, isActive, isBusy, joinDerivedService, pause, pause, restart, restart, resume, setServiceStateListener, start, stop, 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, getAspectranClassLoader, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, withdrawDerivedService
-
Methods inherited from interface com.aspectran.daemon.service.DaemonService
translate, translate
-
-
-
-
Method Detail
-
isExposable
public boolean isExposable(java.lang.String transletName)
Description copied from interface:DaemonServiceReturns whether or not the translet can be exposed to the daemon service.- Specified by:
isExposablein interfaceDaemonService- Overrides:
isExposablein classcom.aspectran.core.service.AbstractCoreService- 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()
-
-