Package com.aspectran.core.service
Class AspectranCoreService
- java.lang.Object
-
- com.aspectran.core.service.AbstractServiceController
-
- com.aspectran.core.service.AbstractCoreService
-
- com.aspectran.core.service.AspectranCoreService
-
- All Implemented Interfaces:
CoreService
,ServiceController
- Direct Known Subclasses:
AbstractDaemonService
,AbstractEmbeddedAspectran
,AbstractShellService
,AbstractTowService
,DefaultWebService
public class AspectranCoreService extends AbstractCoreService
The Class AspectranCoreService.
-
-
Constructor Summary
Constructors Constructor Description AspectranCoreService()
Instantiates a new AspectranCoreService.AspectranCoreService(CoreService rootService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterContextLoaded()
This method is executed immediately after the ActivityContext is loaded.protected void
beforeContextDestroy()
This method executed just before the ActivityContext is destroyed.protected void
doPause()
protected void
doPause(long timeout)
protected void
doResume()
protected void
doStart()
protected void
doStop()
-
Methods inherited from class com.aspectran.core.service.AbstractCoreService
destroyActivityContext, determineBasePath, getActivityContext, getAspectranClassLoader, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, isDerived, isExposable, 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
-
-
-
-
Constructor Detail
-
AspectranCoreService
public AspectranCoreService()
Instantiates a new AspectranCoreService.
-
AspectranCoreService
public AspectranCoreService(CoreService rootService)
-
-
Method Detail
-
afterContextLoaded
protected void afterContextLoaded() throws java.lang.Exception
This method is executed immediately after the ActivityContext is loaded.- Throws:
java.lang.Exception
- if an error occurs
-
beforeContextDestroy
protected void beforeContextDestroy()
This method executed just before the ActivityContext is destroyed.
-
doStart
protected void doStart() throws java.lang.Exception
- Specified by:
doStart
in classAbstractServiceController
- Throws:
java.lang.Exception
-
doPause
protected void doPause() throws java.lang.Exception
- Specified by:
doPause
in classAbstractServiceController
- Throws:
java.lang.Exception
-
doPause
protected void doPause(long timeout) throws java.lang.Exception
- Specified by:
doPause
in classAbstractServiceController
- Throws:
java.lang.Exception
-
doResume
protected void doResume() throws java.lang.Exception
- Specified by:
doResume
in classAbstractServiceController
- Throws:
java.lang.Exception
-
doStop
protected void doStop()
- Specified by:
doStop
in classAbstractServiceController
-
-