Package com.aspectran.daemon.service
Class DefaultDaemonService
java.lang.Object
com.aspectran.core.service.AbstractServiceController
com.aspectran.core.service.AbstractCoreService
com.aspectran.core.service.AspectranCoreService
com.aspectran.daemon.service.AbstractDaemonService
com.aspectran.daemon.service.DefaultDaemonService
- All Implemented Interfaces:
com.aspectran.core.service.CoreService,com.aspectran.core.service.ServiceController,DaemonService
The Class DefaultDaemonService.
- Since:
- 5.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultDaemonServicecreate(com.aspectran.core.context.config.AspectranConfig aspectranConfig) Returns a new instance ofDefaultDaemonService.com.aspectran.core.activity.Translettranslate(String name, com.aspectran.core.context.rule.type.MethodType method, Map<String, Object> attributeMap, com.aspectran.core.activity.request.ParameterMap parameterMap) Executes the translet with the given attributes and parameters.com.aspectran.core.activity.Translettranslate(String name, Map<String, Object> attributeMap, com.aspectran.core.activity.request.ParameterMap parameterMap) Executes the translet with the given attributes and parameters.Methods inherited from class com.aspectran.daemon.service.AbstractDaemonService
destroySessionManager, initSessionManager, isExposable, newSessionAdapterMethods inherited from class com.aspectran.core.service.AspectranCoreService
afterContextLoaded, beforeContextDestroy, buildActivityContext, destroyActivityContext, doPause, doPause, doResume, doStart, doStop, prepare, start, stopMethods inherited from class com.aspectran.core.service.AbstractCoreService
checkDirectoryStructure, createSchedulerService, getActivityContext, getActivityContextBuilder, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, getSiblingsClassLoader, hasActivityContextBuilder, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, setActivityContext, setActivityContextBuilder, setAspectranConfig, setBasePath, withdrawDerivedServiceMethods inherited from class com.aspectran.core.service.AbstractServiceController
clearDerivedService, getLock, getRootService, getServiceName, isActive, isBusy, joinDerivedService, pause, pause, restart, restart, resume, setExposals, setRootService, setServiceStateListener, withdrawDerivedServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.aspectran.core.service.CoreService
getActivityContext, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, getSiblingsClassLoader, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, withdrawDerivedService
-
Constructor Details
-
DefaultDaemonService
public DefaultDaemonService()
-
-
Method Details
-
translate
public com.aspectran.core.activity.Translet translate(String name, Map<String, Object> attributeMap, com.aspectran.core.activity.request.ParameterMap parameterMap) Description copied from interface:DaemonServiceExecutes the translet with the given attributes and parameters.- Parameters:
name- the translet nameattributeMap- the attribute mapparameterMap- the parameter map- Returns:
- the
Transletobject
-
translate
public com.aspectran.core.activity.Translet translate(String name, com.aspectran.core.context.rule.type.MethodType method, Map<String, Object> attributeMap, com.aspectran.core.activity.request.ParameterMap parameterMap) Description copied from interface:DaemonServiceExecutes the translet with the given attributes and parameters.- Parameters:
name- the translet namemethod- the request methodattributeMap- the attribute mapparameterMap- the parameter map- Returns:
- the
Transletobject
-
create
public static DefaultDaemonService create(com.aspectran.core.context.config.AspectranConfig aspectranConfig) Returns a new instance ofDefaultDaemonService.- Parameters:
aspectranConfig- the parameters for aspectran configuration- Returns:
- the instance of
DefaultDaemonService
-