CoreService, ServiceControllerpublic class AspectranCoreService extends AbstractCoreService
log| Constructor | Description |
|---|---|
AspectranCoreService(ApplicationAdapter applicationAdapter) |
Instantiates a new AspectranCoreService.
|
AspectranCoreService(CoreService rootService) |
| 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.
|
void |
doPause() |
|
void |
doPause(long timeout) |
|
void |
doRestart() |
|
void |
doResume() |
|
void |
doStart() |
|
void |
doStop() |
|
boolean |
isDerived() |
Returns whether this service is derived from another root service.
|
destroyActivityContext, getActivityContext, getApplicationAdapter, getAspectranClassLoader, getAspectranConfig, getBasePath, isExposable, isHardReload, loadActivityContext, pauseSchedulerService, pauseSchedulerService, prepare, resumeSchedulerService, setActivityContext, setBasePath, setExposals, startSchedulerService, stopSchedulerServicegetLock, getServiceName, isActive, pause, pause, restart, resume, setServiceStateListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceName, isActive, pause, pause, restart, resume, setServiceStateListener, start, stoppublic AspectranCoreService(ApplicationAdapter applicationAdapter)
applicationAdapter - the application adapterpublic AspectranCoreService(CoreService rootService)
public boolean isDerived()
ServiceControllerprotected void afterContextLoaded()
throws java.lang.Exception
java.lang.Exception - if an error occursprotected void beforeContextDestroy()
public void doStart()
throws java.lang.Exception
doStart in class AbstractServiceControllerjava.lang.Exceptionpublic void doRestart()
throws java.lang.Exception
doRestart in class AbstractServiceControllerjava.lang.Exceptionpublic void doPause()
throws java.lang.Exception
doPause in class AbstractServiceControllerjava.lang.Exceptionpublic void doPause(long timeout)
throws java.lang.Exception
doPause in class AbstractServiceControllerjava.lang.Exceptionpublic void doResume()
throws java.lang.Exception
doResume in class AbstractServiceControllerjava.lang.Exceptionpublic void doStop()
doStop in class AbstractServiceControllerCopyright © 2008–2018 The Aspectran Project. All rights reserved.