Package javax.batch.operations

Examples of javax.batch.operations.JobOperator


     * @param executionId Execution identifier as returned by
     *                    {@link #startJob(java.lang.String)}.
     * @return Record containing the details.
     */
    public JobExecution getJobExecutionDetails(long executionId) {
        JobOperator jobOperator = BatchRuntime.getJobOperator();
        JobExecution jobExecution = jobOperator.getJobExecution(executionId);
        return jobExecution;
    }
View Full Code Here


  */
 
  public static JobOperator getJobOperator() {
   
   
    JobOperator operator = AccessController.doPrivileged(new PrivilegedAction<JobOperator> () {
            public JobOperator run() {
               
              ServiceLoader<JobOperator> loader = ServiceLoader.load(JobOperator.class);
              JobOperator returnVal = null;
              for (JobOperator provider : loader) {
              if (provider != null) {
                if (logger.isLoggable(Level.FINE)) {
                  logger.fine("Loaded BatchContainerServiceProvider with className = " + provider.getClass().getCanonicalName());
                }
View Full Code Here

TOP

Related Classes of javax.batch.operations.JobOperator

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.