Package com.aspectran.core.service
Interface CoreService
-
- All Known Implementing Classes:
AbstractCoreService,AspectranCoreService
public interface CoreServiceThe Interface CoreService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityContextgetActivityContext()Gets the activity context.ApplicationAdaptergetApplicationAdapter()Gets the application adapter.AspectranClassLoadergetAspectranClassLoader()Gets the aspectran class loader.AspectranConfiggetAspectranConfig()Returns the Aspectran configuration parameters used to generate the AspectranService.java.lang.StringgetBasePath()ServiceControllergetServiceController()Returns the service controller for this service.booleanisHardReload()Returns whether to reload all Java classes, resources, and activity context configurations.booleanisLateStart()voidjoinDerivedService(CoreService coreService)Add a derived core service.
-
-
-
Method Detail
-
getBasePath
java.lang.String getBasePath()
-
getApplicationAdapter
ApplicationAdapter getApplicationAdapter()
Gets the application adapter.- Returns:
- the application adapter
-
isLateStart
boolean isLateStart()
-
getActivityContext
ActivityContext getActivityContext()
Gets the activity context.- Returns:
- the activity context
-
getAspectranClassLoader
AspectranClassLoader getAspectranClassLoader()
Gets the aspectran class loader.- Returns:
- the aspectran class loader
-
getAspectranConfig
AspectranConfig getAspectranConfig()
Returns the Aspectran configuration parameters used to generate the AspectranService.- Returns:
- the Aspectran Configuration Parameters
-
isHardReload
boolean isHardReload()
Returns whether to reload all Java classes, resources, and activity context configurations.- Returns:
- false if only the activity context configuration is reloaded; true if all are reloaded
-
getServiceController
ServiceController getServiceController()
Returns the service controller for this service.- Returns:
- the service controller
-
joinDerivedService
void joinDerivedService(CoreService coreService)
Add a derived core service. Derived services follow the life cycle of the root service.- Parameters:
coreService- the core service
-
-