CoreService, ServiceControllerAspectranCoreServicepublic abstract class AbstractCoreService extends AbstractServiceController implements CoreService
| Constructor | Description |
|---|---|
AbstractCoreService(ApplicationAdapter applicationAdapter) |
|
AbstractCoreService(CoreService rootService) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
destroyActivityContext() |
|
ActivityContext |
getActivityContext() |
Gets the activity context.
|
ApplicationAdapter |
getApplicationAdapter() |
Gets the application adapter.
|
AspectranClassLoader |
getAspectranClassLoader() |
Gets the aspectran class loader.
|
AspectranConfig |
getAspectranConfig() |
Returns the Aspectran configuration parameters used to generate the AspectranService.
|
java.lang.String |
getBasePath() |
|
protected boolean |
isExposable(java.lang.String transletName) |
|
boolean |
isHardReload() |
Returns whether to reload both the Java class and the activity context.
|
protected void |
loadActivityContext() |
|
protected void |
pauseSchedulerService() |
|
protected void |
pauseSchedulerService(long timeout) |
|
protected void |
prepare(AspectranConfig aspectranConfig) |
|
protected void |
resumeSchedulerService() |
|
void |
setActivityContext(ActivityContext activityContext) |
|
protected void |
setBasePath(java.lang.String basePath) |
|
protected void |
setExposals(java.lang.String[] includePatterns,
java.lang.String[] excludePatterns) |
|
protected void |
startSchedulerService() |
|
protected void |
stopSchedulerService() |
doPause, doPause, doRestart, doResume, doStart, doStop, getLock, getServiceName, isActive, pause, pause, restart, resume, setServiceStateListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceName, isActive, isDerived, pause, pause, restart, resume, setServiceStateListener, start, stopprotected final Log log
public AbstractCoreService(ApplicationAdapter applicationAdapter)
public AbstractCoreService(CoreService rootService)
public java.lang.String getBasePath()
protected void setBasePath(java.lang.String basePath)
public ApplicationAdapter getApplicationAdapter()
CoreServicegetApplicationAdapter in interface CoreServicepublic ActivityContext getActivityContext()
CoreServicegetActivityContext in interface CoreServicepublic void setActivityContext(ActivityContext activityContext)
public AspectranClassLoader getAspectranClassLoader()
CoreServicegetAspectranClassLoader in interface CoreServicepublic AspectranConfig getAspectranConfig()
CoreServicegetAspectranConfig in interface CoreServicepublic boolean isHardReload()
CoreServiceisHardReload in interface CoreServiceprotected void prepare(AspectranConfig aspectranConfig) throws AspectranServiceException
AspectranServiceExceptionprotected void setExposals(java.lang.String[] includePatterns,
java.lang.String[] excludePatterns)
protected boolean isExposable(java.lang.String transletName)
protected void loadActivityContext()
throws ActivityContextBuilderException
ActivityContextBuilderExceptionprotected void destroyActivityContext()
protected void startSchedulerService()
throws java.lang.Exception
java.lang.Exceptionprotected void stopSchedulerService()
protected void pauseSchedulerService()
throws java.lang.Exception
java.lang.Exceptionprotected void pauseSchedulerService(long timeout)
protected void resumeSchedulerService()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2008–2018 The Aspectran Project. All rights reserved.