org.jasig.apache.http.conn.scheme
Class SchemeRegistryFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean<org.apache.http.conn.scheme.SchemeRegistry>
      extended by org.jasig.apache.http.conn.scheme.SchemeRegistryFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<org.apache.http.conn.scheme.SchemeRegistry>, org.springframework.beans.factory.InitializingBean

public class SchemeRegistryFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<org.apache.http.conn.scheme.SchemeRegistry>

Utility for creating a SchemeRegistry in spring

Author:
Eric Dalquist

Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
SchemeRegistryFactoryBean()
           
 
Method Summary
protected  org.apache.http.conn.scheme.SchemeRegistry createInstance()
           
 Class<?> getObjectType()
           
 void setExtendDefault(boolean extendDefault)
          If true SchemeRegistryFactory.createDefault() is used to create the SchemeRegistry before the additional schemes are registered via SchemeRegistry.register(Scheme), defaults to true;
 void setSchemes(Set<org.apache.http.conn.scheme.Scheme> schemes)
          Schemes to register with the SchemeRegistry
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemeRegistryFactoryBean

public SchemeRegistryFactoryBean()
Method Detail

setExtendDefault

public void setExtendDefault(boolean extendDefault)
If true SchemeRegistryFactory.createDefault() is used to create the SchemeRegistry before the additional schemes are registered via SchemeRegistry.register(Scheme), defaults to true;


setSchemes

public void setSchemes(Set<org.apache.http.conn.scheme.Scheme> schemes)
Schemes to register with the SchemeRegistry


getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.apache.http.conn.scheme.SchemeRegistry>
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<org.apache.http.conn.scheme.SchemeRegistry>

createInstance

protected org.apache.http.conn.scheme.SchemeRegistry createInstance()
                                                             throws Exception
Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<org.apache.http.conn.scheme.SchemeRegistry>
Throws:
Exception


Copyright © 2013 Jasig. All Rights Reserved.