Package com.aspectran.daemon.service
Interface DaemonService
-
- All Superinterfaces:
com.aspectran.core.service.CoreService
- All Known Implementing Classes:
AbstractDaemonService,DefaultDaemonService
public interface DaemonService extends com.aspectran.core.service.CoreServiceThe Interface DaemonService.Created: 2017. 10. 28.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisExposable(java.lang.String transletName)Returns whether or not the translet can be exposed to the daemon service.com.aspectran.core.adapter.SessionAdapternewSessionAdapter()Create and return a new session adapter from the daemon service.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 interface com.aspectran.core.service.CoreService
getActivityContext, getAspectranClassLoader, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, withdrawDerivedService
-
-
-
-
Method Detail
-
isExposable
boolean isExposable(java.lang.String transletName)
Returns whether or not the translet can be exposed to the daemon service.- Parameters:
transletName- the name of the translet to check- Returns:
- true if the translet can be exposed; false otherwise
-
newSessionAdapter
com.aspectran.core.adapter.SessionAdapter newSessionAdapter()
Create and return a new session adapter from the daemon service.- Returns:
- the session adapter
-
translate
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)Executes the translet with the given parameters and attributes.- Parameters:
name- the translet nameparameterMap- the parameter mapattributeMap- the attribute map- Returns:
- the
Transletobject
-
translate
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)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
Transletobject
-
-