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:
CoreService
,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 DefaultDaemonService
create(AspectranConfig aspectranConfig)
Returns a new instance ofDefaultDaemonService
.Translet
translate(java.lang.String name, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Executes the translet with the given parameters and attributes.Translet
translate(java.lang.String name, MethodType method, 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 Translet translate(java.lang.String name, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Description copied from interface:DaemonService
Executes the translet with the given parameters and attributes.- Parameters:
name
- the translet nameparameterMap
- the parameter mapattributeMap
- the attribute map- Returns:
- the
Translet
object
-
translate
public Translet translate(java.lang.String name, MethodType method, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Description copied from interface:DaemonService
Executes the translet with the given parameters and attributes.- Parameters:
name
- the translet namemethod
- the request methodparameterMap
- the parameter mapattributeMap
- the attribute map- Returns:
- the
Translet
object
-
create
public static DefaultDaemonService create(AspectranConfig aspectranConfig)
Returns a new instance ofDefaultDaemonService
.- Parameters:
aspectranConfig
- the parameters for aspectran configuration- Returns:
- the instance of
DefaultDaemonService
-
-