Package com.aspectran.daemon.service
Interface DaemonService
-
- All Superinterfaces:
CoreService
- All Known Implementing Classes:
AbstractDaemonService,DefaultDaemonService
public interface DaemonService extends CoreService
The 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 the translet can be exposed to the daemon service.SessionAdapternewSessionAdapter()Create and return a new session adapter from the daemon service.Translettranslate(java.lang.String name, MethodType method, java.util.Map<java.lang.String,java.lang.Object> attributeMap, ParameterMap parameterMap)Executes the translet with the given attributes and parameters.Translettranslate(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attributeMap, ParameterMap parameterMap)Executes the translet with the given attributes and parameters.-
Methods inherited from interface com.aspectran.core.service.CoreService
getActivityContext, getAspectranConfig, getBasePath, getDefaultActivity, getSchedulerService, getServiceController, getSiblingsClassLoader, isDerived, isHardReload, isLateStart, joinDerivedService, leaveFromRootService, withdrawDerivedService
-
-
-
-
Method Detail
-
isExposable
boolean isExposable(java.lang.String transletName)
Returns whether 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
SessionAdapter newSessionAdapter()
Create and return a new session adapter from the daemon service.- Returns:
- the session adapter
-
translate
Translet translate(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attributeMap, ParameterMap parameterMap)
Executes the translet with the given attributes and parameters.- Parameters:
name- the translet nameattributeMap- the attribute mapparameterMap- the parameter map- Returns:
- the
Transletobject
-
translate
Translet translate(java.lang.String name, MethodType method, java.util.Map<java.lang.String,java.lang.Object> attributeMap, ParameterMap parameterMap)
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
Transletobject
-
-