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
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 voidafterContextLoaded()This method is executed immediately after the ActivityContext is loaded.protected voidbeforeContextDestroy()This method executed just before the ActivityContext is destroyed.protected voiddoPause()protected voiddoPause(long timeout)protected voiddoResume()protected voiddoStart()protected voiddoStop()-
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.ExceptionThis 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:
doStartin classAbstractServiceController- Throws:
java.lang.Exception
-
doPause
protected void doPause() throws java.lang.Exception- Specified by:
doPausein classAbstractServiceController- Throws:
java.lang.Exception
-
doPause
protected void doPause(long timeout) throws java.lang.Exception- Specified by:
doPausein classAbstractServiceController- Throws:
java.lang.Exception
-
doResume
protected void doResume() throws java.lang.Exception- Specified by:
doResumein classAbstractServiceController- Throws:
java.lang.Exception
-
doStop
protected void doStop()
- Specified by:
doStopin classAbstractServiceController
-
-