Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


oracle.as.scheduler.substitution
Class SubstitutorFactory

java.lang.Object
  extended by oracle.as.scheduler.substitution.SubstitutorFactory


public class SubstitutorFactory
extends java.lang.Object

Factor class for creating a Substitutor

Since:
11.1.1.6
Version:
$Header: ess/src/oracle/as/scheduler/substitution/SubstitutorFactory.java /st_ess_11.1.1.5.0pt/4 2012/12/05 20:17:34 wbao Exp $
Author:
kbittler

Constructor Summary
SubstitutorFactory()
           

 

Method Summary
static Substitutor getEssEnvSubstitutor()
          Create a Substitutor using the EssEnvSubstitutionHandler
static Substitutor getSubstitutor(RequestExecutionContext ctxt, RequestParameters params)
          Create the standard Substitutor.
static Substitutor getSubstitutorWithAltEnv(RequestExecutionContext ctxt, RequestParameters params, java.util.Map<java.lang.String,java.lang.String> altAppEnv)
          Create the standard Substitutor.

 

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

 

Constructor Detail

SubstitutorFactory

public SubstitutorFactory()

Method Detail

getSubstitutor

public static Substitutor getSubstitutor(RequestExecutionContext ctxt,
                                         RequestParameters params)
                                  throws RequestNotFoundException,
                                         RuntimeServiceException,
                                         SubstitutionException
Create the standard Substitutor. This substitutor utilizes all the standard ESS SubstitutionHandlers.
Parameters:
ctxt - The RequestExecutionContext for the current request execution
params - The RequestParameters for the current request execution
Returns:
The standard Substitutor
Throws:
RequestNotFoundException - if the request could not be found
RuntimeServiceException - if an error occurred retrieving request information
SubstitutionException

getSubstitutorWithAltEnv

public static Substitutor getSubstitutorWithAltEnv(RequestExecutionContext ctxt,
                                                   RequestParameters params,
                                                   java.util.Map<java.lang.String,java.lang.String> altAppEnv)
                                            throws RequestNotFoundException,
                                                   RuntimeServiceException,
                                                   SubstitutionException
Create the standard Substitutor. This substitutor utilizes all the standard ESS SubstitutionHandlers, except the usual application environment handler ("APP_ENV") source is replaced by altAppEnv.
Parameters:
ctxt - The RequestExecutionContext for the current request execution
params - The RequestParameters for the current request execution
altAppEnv - Alternate environment properties to be used in place of the standard ESS application environment.
Returns:
The standard Substitutor
Throws:
RequestNotFoundException - if the request could not be found
RuntimeServiceException - if an error occurred retrieving request information
SubstitutionException

getEssEnvSubstitutor

public static Substitutor getEssEnvSubstitutor()
Create a Substitutor using the EssEnvSubstitutionHandler
Returns:
The ESS environment Substitutor

Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.