Interface DaemonService

    • 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 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 the given parameters and attributes.
        Parameters:
        name - the translet name
        method - the request method
        parameterMap - the parameter map
        attributeMap - the attribute map
        Returns:
        the Translet object