Sonic ESB API

com.sonicsw.esb.service.common.util.variables
Class VariableResolverFactoryImpl

java.lang.Object
  extended by com.sonicsw.esb.service.common.util.variables.VariableResolverFactoryImpl
All Implemented Interfaces:
VariableResolverFactory, org.springframework.beans.factory.config.BeanPostProcessor

public class VariableResolverFactoryImpl
extends java.lang.Object
implements VariableResolverFactory, org.springframework.beans.factory.config.BeanPostProcessor


Constructor Summary
VariableResolverFactoryImpl()
           
 
Method Summary
 VariableResolver getResolver(java.lang.String variable)
          Provides a resolver for the given variable, or null if a suitable resolver cannot be provided.
 java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName)
          Look for beans that implement VariableResolver and register them as resolvers if possible.
 java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName)
           
 void registerResolver(java.lang.String scheme, VariableResolver resolver)
           
 void registerResolverFactory(java.lang.String scheme, VariableResolverFactory resolverFactory)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableResolverFactoryImpl

public VariableResolverFactoryImpl()
Method Detail

getResolver

public VariableResolver getResolver(java.lang.String variable)
Description copied from interface: VariableResolverFactory
Provides a resolver for the given variable, or null if a suitable resolver cannot be provided.

Specified by:
getResolver in interface VariableResolverFactory

registerResolver

public void registerResolver(java.lang.String scheme,
                             VariableResolver resolver)

registerResolverFactory

public void registerResolverFactory(java.lang.String scheme,
                                    VariableResolverFactory resolverFactory)

postProcessAfterInitialization

public java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
                                                       java.lang.String beanName)
                                                throws org.springframework.beans.BeansException
Look for beans that implement VariableResolver and register them as resolvers if possible.

Specified by:
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException

postProcessBeforeInitialization

public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
                                                        java.lang.String beanName)
                                                 throws org.springframework.beans.BeansException
Specified by:
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException

Sonic ESB API

Copyright © 2001-2013 Aurea, Inc. All Rights Reserved.
HTML formatted on 29-April-2013.