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 boolean
isExposable(java.lang.String transletName)
Returns whether or not the translet can be exposed to the daemon service.SessionAdapter
newSessionAdapter()
Create and return a new session adapter from the daemon service.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 interface com.aspectran.core.service.CoreService
getActivityContext, getAspectranClassLoader, getAspectranConfig, getBasePath, getDefaultActivity, 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
SessionAdapter newSessionAdapter()
Create and return a new session adapter from the daemon service.- Returns:
- the session adapter
-
translate
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.- Parameters:
name
- the translet nameparameterMap
- the parameter mapattributeMap
- the attribute map- Returns:
- the
Translet
object
-
translate
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.- Parameters:
name
- the translet namemethod
- the request methodparameterMap
- the parameter mapattributeMap
- the attribute map- Returns:
- the
Translet
object
-
-