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
public class DefaultDaemonService extends AbstractDaemonService
The Class DefaultDaemonService.- Since:
- 5.1.0
-
-
Constructor Summary
Constructors Constructor Description DefaultDaemonService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultDaemonServicecreate(com.aspectran.core.context.config.AspectranConfig aspectranConfig)Returns a new instance ofDefaultDaemonService.com.aspectran.core.activity.Translettranslate(java.lang.String name, com.aspectran.core.activity.request.ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)Executes the translet with the given parameters and attributes.com.aspectran.core.activity.Translettranslate(java.lang.String name, com.aspectran.core.context.rule.type.MethodType method, com.aspectran.core.activity.request.ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)Executes the translet with the given parameters and attributes.-
Methods inherited from class com.aspectran.daemon.service.AbstractDaemonService
destroySessionManager, initSessionManager, isExposable, newSessionAdapter
-
Methods inherited from class com.aspectran.core.service.AspectranCoreService
afterContextLoaded, beforeContextDestroy, doPause, doPause, doResume, doStart, doStop
-
Methods inherited from class com.aspectran.core.service.AbstractCoreService
destroyActivityContext, determineBasePath, getActivityContext, getAspectranClassLoader, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, isDerived, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.aspectran.core.service.CoreService
getActivityContext, getAspectranClassLoader, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, withdrawDerivedService
-
-
-
-
Method Detail
-
translate
public com.aspectran.core.activity.Translet translate(java.lang.String name, com.aspectran.core.activity.request.ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)Description copied from interface:DaemonServiceExecutes the translet with the given parameters and attributes.- Parameters:
name- the translet nameparameterMap- the parameter mapattributeMap- the attribute map- Returns:
- the
Transletobject
-
translate
public com.aspectran.core.activity.Translet translate(java.lang.String name, com.aspectran.core.context.rule.type.MethodType method, com.aspectran.core.activity.request.ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)Description copied from interface:DaemonServiceExecutes the translet with the given parameters and attributes.- Parameters:
name- the translet namemethod- the request methodparameterMap- the parameter mapattributeMap- the attribute 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
-
-