Package com.aspectran.daemon.service
Class DefaultDaemonService
java.lang.Object
com.aspectran.core.service.AbstractServiceLifeCycle
com.aspectran.core.service.AbstractCoreService
com.aspectran.core.service.DefaultCoreService
com.aspectran.daemon.service.AbstractDaemonService
com.aspectran.daemon.service.DefaultDaemonService
- All Implemented Interfaces:
CoreService
,ServiceLifeCycle
,DaemonService
The Class DefaultDaemonService.
- Since:
- 5.1.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiontranslate
(String name, MethodType method, Map<String, Object> attributeMap, ParameterMap parameterMap) Executes the translet with the given attributes and parameters.Executes the translet with the given attributes and parameters.Methods inherited from class com.aspectran.daemon.service.AbstractDaemonService
configure, createSessionManager, destroySessionManager, newSessionAdapter
Methods inherited from class com.aspectran.core.service.DefaultCoreService
afterContextLoaded, beforeContextDestroy, buildActivityContext, destroyActivityContext, doStart, doStop, start, stop
Methods inherited from class com.aspectran.core.service.AbstractCoreService
buildSchedulerService, getActivityContext, getActivityContextBuilder, getAltClassLoader, getApplicationAdapter, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceClassLoader, getServiceLifeCycle, getServiceName, hasActivityContextBuilder, hasServiceClassLoader, isAcceptable, isDerived, setActivityContext, setActivityContextBuilder, setAltClassLoader, setAspectranConfig, setBasePath, setServiceAcceptables, setServiceClassLoader
Methods inherited from class com.aspectran.core.service.AbstractServiceLifeCycle
clearDerivedServices, getLock, getParentService, getRootService, isActive, isBusy, isOrphan, isRootService, joinDerivedService, leaveFromRootService, pause, pause, restart, restart, resume, setServiceStateListener, 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, getAltClassLoader, getApplicationAdapter, getAspectranConfig, getBasePath, getDefaultActivity, getParentService, getRootService, getSchedulerService, getServiceClassLoader, getServiceLifeCycle, hasServiceClassLoader, isAcceptable, isDerived, isOrphan, isRootService
-
Field Details
-
pauseTimeout
protected volatile long pauseTimeout
-
-
Method Details
-
translate
Description copied from interface:DaemonService
Executes the translet with the given attributes and parameters.- Parameters:
name
- the translet nameattributeMap
- the attribute mapparameterMap
- the parameter map- Returns:
- the
Translet
object
-
translate
public Translet translate(String name, MethodType method, Map<String, Object> attributeMap, ParameterMap parameterMap) Description copied from interface:DaemonService
Executes the translet with the given attributes and parameters.- Parameters:
name
- the translet namemethod
- the request methodattributeMap
- the attribute mapparameterMap
- the parameter map- Returns:
- the
Translet
object
-