Sonic ESB API

com.sonicsw.esb.service.common.impl
Class ProcessContextVariableResolver

java.lang.Object
  extended by com.sonicsw.esb.service.common.impl.ProcessContextVariableResolver
All Implemented Interfaces:
ContextAwareVariableResolver, VariableFactory, VariableResolver, java.lang.Cloneable

public class ProcessContextVariableResolver
extends java.lang.Object
implements ContextAwareVariableResolver, VariableFactory


Nested Class Summary
static class ProcessContextVariableResolver.ProcessContextVariable
           
 
Nested classes/interfaces inherited from interface com.sonicsw.esb.service.common.util.variables.VariableFactory
VariableFactory.Variable
 
Constructor Summary
ProcessContextVariableResolver()
           
ProcessContextVariableResolver(XQProcessContext context)
           
 
Method Summary
 java.lang.Object clone()
          Clones the resolver so that a new instance can be obtained for each thread, before the context is set.
 VariableFactory.Variable createContextVariable(java.lang.String artifact)
           
 VariableFactory.Variable createInflightPropsVariable(java.lang.String property)
           
 java.lang.String getScheme()
           
 VariableFactory.Variable getVariable(java.lang.String variableStr)
          Returns a Variable for the given variable string.
 java.lang.String resolve(java.lang.String variableStr)
          Attempts to resolve the given variable.
 void setContext(SFCServiceContext context)
          Sets the current service context.
 void setProcessContext(XQProcessContext context)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessContextVariableResolver

public ProcessContextVariableResolver()

ProcessContextVariableResolver

public ProcessContextVariableResolver(XQProcessContext context)
Method Detail

clone

public java.lang.Object clone()
Description copied from interface: ContextAwareVariableResolver
Clones the resolver so that a new instance can be obtained for each thread, before the context is set.

Specified by:
clone in interface ContextAwareVariableResolver
Overrides:
clone in class java.lang.Object

getScheme

public java.lang.String getScheme()

setContext

public final void setContext(SFCServiceContext context)
Description copied from interface: ContextAwareVariableResolver
Sets the current service context.

Specified by:
setContext in interface ContextAwareVariableResolver

setProcessContext

public final void setProcessContext(XQProcessContext context)

resolve

public java.lang.String resolve(java.lang.String variableStr)
Description copied from interface: VariableResolver
Attempts to resolve the given variable. May return null.

Specified by:
resolve in interface VariableResolver

getVariable

public VariableFactory.Variable getVariable(java.lang.String variableStr)
Description copied from interface: VariableFactory
Returns a Variable for the given variable string.

Specified by:
getVariable in interface VariableFactory

createInflightPropsVariable

public VariableFactory.Variable createInflightPropsVariable(java.lang.String property)

createContextVariable

public VariableFactory.Variable createContextVariable(java.lang.String artifact)

Sonic ESB API

Copyright © 2001-2012 Progress Software Corporation. All Rights Reserved.
HTML formatted on 13-Mar-2012.