Interface DaemonService

    • 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 name
        parameterMap - the parameter map
        attributeMap - 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 name
        method - the request method
        parameterMap - the parameter map
        attributeMap - 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 id
        parameterMap - the parameter map
        attributeMap - the attribute map
        Returns:
        the output string of the template