Package org.apache.uima.ducc.transport.event.common

Examples of org.apache.uima.ducc.transport.event.common.IDuccUimaDeployableConfiguration


      driverStatusReport.setInitializing();
      duccOut.debug(location, jobid, "driverState:"+driverStatusReport.getDriverState());
      // Handle UIMA deployment descriptor
      String directory = job.getLogDirectory()+job.getDuccId();
      DeploymentDescriptorGenerator ddg = new DeploymentDescriptorGenerator("JD",duccOut,directory);
      IDuccUimaDeployableConfiguration udc = job.getUimaDeployableConfiguration();
      String process_DD = ddg.generate(udc, job.getDuccId().toString());
      IDuccUimaDeploymentDescriptor uimaDeploymentDescriptor = new DuccUimaDeploymentDescriptor(process_DD);
      driverStatusReport.setUimaDeploymentDescriptor(uimaDeploymentDescriptor);
      // Prepare for gathering of UIMA performance statistics
      String logsjobdir = job.getLogDirectory()+job.getDuccId().getFriendly()+File.separator;
View Full Code Here


    //  Type of ducc component this is using this class (ex.JD)
    this.duccComponentName = componentName;
    this.userLogDir = userLogDir;
  }
  public String generate(String serializedDeployableConfiguration, String jobId) throws Exception {
    IDuccUimaDeployableConfiguration deployableConfiguration =
        (IDuccUimaDeployableConfiguration)XStreamUtils.unmarshall(serializedDeployableConfiguration);
    return generate(deployableConfiguration, jobId);
  }
View Full Code Here

TOP

Related Classes of org.apache.uima.ducc.transport.event.common.IDuccUimaDeployableConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.