Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.2)
E26229-03


oracle.as.scheduler.cp.exec
Class RequestHelper

java.lang.Object
  extended by oracle.as.scheduler.cp.exec.RequestHelper


public class RequestHelper
extends java.lang.Object

This class provides helper methods to obtain information about the request in progress. This is intended to replace the Request*Info classes in earlier version of Concurrent Processing. It must be noted that these APIs can only be called when a request execution is in progress and will never work outside this context. Created: Wed Mar 7 14:50:18 2007

Version:
$Header: $

Method Summary
static java.lang.String getJobDefinitionApplication()
          Get the name of the application under which the program is registered.
static java.lang.String getJobDefinitionID()
          Get the job definition identifier for which this request was submitted.
static java.lang.String getJobDefinitionName()
          Get the short name of the job definition for which this request was submitted.
static java.lang.String getLanguage()
          Get the language as setup in the environment.
static java.util.Map getParameters()
          Get the parameters and their values as a Map.
static long getParentRequestID()
          Get the parent request id for a sub-request.
static java.lang.String getTerritory()
          Get the NLS territory as setup in the environment.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getParameters

public static java.util.Map getParameters()
Get the parameters and their values as a Map.
Returns:
the parameter map

getLanguage

public static java.lang.String getLanguage()
Get the language as setup in the environment.
Returns:
the language

getTerritory

public static java.lang.String getTerritory()
Get the NLS territory as setup in the environment.
Returns:
the territory

getJobDefinitionName

public static java.lang.String getJobDefinitionName()
Get the short name of the job definition for which this request was submitted.
Returns:
the job definition short name

getJobDefinitionID

public static java.lang.String getJobDefinitionID()
Get the job definition identifier for which this request was submitted.
Returns:
the job definition id (as a hex string)

getJobDefinitionApplication

public static java.lang.String getJobDefinitionApplication()
Get the name of the application under which the program is registered.
Returns:
the program's application name

getParentRequestID

public static long getParentRequestID()
Get the parent request id for a sub-request.
Returns:
the parent request id

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.2)
E26229-03


Copyright © 2008, 2012 Oracle. All rights reserved.