Class JobInvocationServiceImpl

    • Constructor Detail

      • JobInvocationServiceImpl

        public JobInvocationServiceImpl()
    • Method Detail

      • run

        public JobResult run​(JobConfiguration cfg)
        Default entry point of jadice server web service.
        Specified by:
        run in interface JobInvocationService
        Parameters:
        cfg - the marshaled elements usually from a incoming SOAP Message
        Returns:
        JobResult that is going to be marshaled and inserted into outgoing SOAP message
      • setJobFactory

        public void setJobFactory​(JobFactory jobFactory)

        Set the JobFactory that shall be used for the creation of jadice server Jobs for a webservice call.

        This instance given here must be fully initialized (i.e. JobFactory.connect() must have been called before

        Parameters:
        jobFactory - The JobFactory to use
      • applyStreamDescriptorProperties

        protected void applyStreamDescriptorProperties​(Stream outputStream,
                                                       Stream wsResultStream)
        This method applies the stream descriptor properties of the stream result to the resultStream object.
        Parameters:
        outputStream - a stream result.
        wsResultStream - the result stream object that is included in the SOAP response.
      • setJobConfigurators

        public void setJobConfigurators​(List<JobConfigurator> jobConfigurators)
      • isAllowSettingMessagePriority

        public boolean isAllowSettingMessagePriority()
      • setAllowSettingMessagePriority

        public void setAllowSettingMessagePriority​(boolean allowSettingMessagePriority)