Sonic ESB API

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

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

public class TestResolver
extends java.lang.Object
implements VariableResolver, VariableFactory

Simple resolver that handles a test variable scheme where the value is embedded in the variable URI. Supports variable URIs of the form test:value.


Nested Class Summary
 class TestResolver.ValueVariable
           
 
Nested classes/interfaces inherited from interface com.sonicsw.esb.service.common.util.variables.VariableFactory
VariableFactory.Variable
 
Constructor Summary
TestResolver()
           
 
Method Summary
 VariableFactory.Variable createVariable(java.lang.String value)
           
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestResolver

public TestResolver()
Method Detail

getScheme

public java.lang.String getScheme()

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

createVariable

public VariableFactory.Variable createVariable(java.lang.String value)

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

Sonic ESB API

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