Class AspectranDaemonService

    • Constructor Detail

      • AspectranDaemonService

        public AspectranDaemonService()
    • Method Detail

      • afterContextLoaded

        public void afterContextLoaded()
                                throws java.lang.Exception
        Description copied from class: AspectranCoreService
        This method is executed immediately after the ActivityContext is loaded.
        Overrides:
        afterContextLoaded in class AspectranCoreService
        Throws:
        java.lang.Exception - if an error occurs
      • translate

        public Translet translate​(java.lang.String name,
                                  ParameterMap parameterMap,
                                  java.util.Map<java.lang.String,​java.lang.Object> attributeMap)
        Description copied from interface: DaemonService
        Executes the translet with a set of parameters and attributes.
        Specified by:
        translate in interface DaemonService
        Parameters:
        name - the translet name
        parameterMap - the parameter map
        attributeMap - the attribute map
        Returns:
        the Translet object
      • translate

        public Translet translate​(java.lang.String name,
                                  MethodType method,
                                  ParameterMap parameterMap,
                                  java.util.Map<java.lang.String,​java.lang.Object> attributeMap)
        Description copied from interface: DaemonService
        Executes the translet with a set of parameters and attributes.
        Specified by:
        translate in interface DaemonService
        Parameters:
        name - the translet name
        method - the request method
        parameterMap - the parameter map
        attributeMap - the attribute map
        Returns:
        the Translet object
      • create

        public static AspectranDaemonService create​(java.lang.String appConfigRootFile)
        Returns a new instance of AspectranDaemonService.
        Parameters:
        appConfigRootFile - the application configuration root file
        Returns:
        the instance of AspectranDaemonService
      • create

        public static AspectranDaemonService create​(AspectranConfig aspectranConfig)
        Returns a new instance of AspectranDaemonService.
        Parameters:
        aspectranConfig - the parameters for aspectran configuration
        Returns:
        the instance of AspectranDaemonService