Package org.apache.synapse.commons.resolvers

# Class ResolverFactory

java.lang.Object
org.apache.synapse.commons.resolvers.ResolverFactory

public class ResolverFactory extends Object
Resolver Factory which can be used to register resolvers and retrieve a resolver for a given type.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static ResolverFactory`
  `getInstance()`
  This function return an object of Resolver factory
  `Resolver`
  `getResolver(String input)`
  This function returns a resolver based on the variable passed

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getInstance

    public static ResolverFactory getInstance()
    This function return an object of Resolver factory
    Returns:
      resolverFactory

  - ### getResolver

    public Resolver getResolver(String input)
    This function returns a resolver based on the variable passed
    Parameters:
      `input` - variable which is used decode and retrieve the resolver
    Returns:
      resolver object