org.springframework.security.oauth2.config
Class ResourceBeanDefinitionParser.StringListFactoryBean

java.lang.Object
  extended by org.springframework.security.oauth2.config.ResourceBeanDefinitionParser.StringListFactoryBean
All Implemented Interfaces:
FactoryBean<List<String>>
Enclosing class:
ResourceBeanDefinitionParser

public static class ResourceBeanDefinitionParser.StringListFactoryBean
extends Object
implements FactoryBean<List<String>>

Convenience factory bean for enabling comma-separated lists to be specified either as literals or externalized as expressions or placeholders. N.B. this would not be necessary if Spring used its ConversionService by default (users have to register one).


Constructor Summary
ResourceBeanDefinitionParser.StringListFactoryBean(String commaSeparatedList)
           
 
Method Summary
 List<String> getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBeanDefinitionParser.StringListFactoryBean

public ResourceBeanDefinitionParser.StringListFactoryBean(String commaSeparatedList)
Method Detail

getObject

public List<String> getObject()
                       throws Exception
Specified by:
getObject in interface FactoryBean<List<String>>
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<List<String>>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<List<String>>


Copyright © 2012. All Rights Reserved.