Package com.aspectran.daemon.service
Interface DaemonService
-
- All Superinterfaces:
CoreService
- All Known Implementing Classes:
AspectranDaemonService
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 SessionAdapter
newSessionAdapter()
Creates a new session adapter for the daemon service and returns.java.lang.String
template(java.lang.String templateId, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Evaluates the template with a set of parameters and attributes.Translet
translate(java.lang.String name, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Executes the translet with a set of 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 a set of parameters and attributes.-
Methods inherited from interface com.aspectran.core.service.CoreService
getActivityContext, getApplicationAdapter, getAspectranClassLoader, getAspectranConfig, getBasePath, getServiceController, isHardReload, isLateStart, joinDerivedService
-
-
-
-
Method Detail
-
newSessionAdapter
SessionAdapter newSessionAdapter()
Creates a new session adapter for the daemon service and returns.- 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 a set of 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 a set of parameters and attributes.- Parameters:
name
- the translet namemethod
- the request methodparameterMap
- the parameter mapattributeMap
- the attribute map- Returns:
- the
Translet
object
-
template
java.lang.String template(java.lang.String templateId, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Evaluates the template with a set of parameters and attributes.- Parameters:
templateId
- the template idparameterMap
- the parameter mapattributeMap
- the attribute map- Returns:
- the output string of the template
-
-