Interface LaunchContext

    • Method Detail

      • getService

        Service getService()
        Returns the launched service.
        Returns:
        the launched service.
      • getProperties

        PropertySet getProperties()
        Returns properties configuring the service execution. The set of properties notably includes servlet request headers and query parameters.
        Returns:
        properties configuring the service execution.
      • getArgument

        Argument getArgument​(String name)
        Returns the launch argument matching the specified service parameter name.
        Parameters:
        name - the name of the service parameter.
        Returns:
        the corresponding launch argument, null if not found.
      • setArgument

        void setArgument​(String name,
                         Argument argument)
        Changes the argument associated with the specified service parameter name. This method might be called from a custom LaunchInterceptor implementation.
        Parameters:
        name - the name of the service parameter.
        argument - the associated launch argument.
        See Also:
        LaunchInterceptor.launchScheduled(LaunchContext)