org.apache.cxf.configuration.spring
Class SpringBeanQNameMap<V>

java.lang.Object
  extended by org.apache.cxf.configuration.spring.SpringBeanQNameMap<V>
All Implemented Interfaces:
Serializable, MapProvider<QName,V>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class SpringBeanQNameMap<V>
extends Object

See Also:
Serialized Form

Nested Class Summary
static class AbstractSpringBeanMap.Entry<X,V>
           
 
Field Summary
protected  org.springframework.context.ApplicationContext context
           
protected  String idsProperty
           
protected  Map<X,List<String>> idToBeanName
           
protected  Map<X,V> putStore
           
protected  Class<?> type
           
 
Constructor Summary
SpringBeanQNameMap()
           
 
Method Summary
 void afterPropertiesSet()
           
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object arg0)
           
 Map<X,V> createMap()
           
 Set<Map.Entry<X,V>> entrySet()
           
 V get(Object key)
           
protected  List<String> getBeanListForId(X id)
           
protected  Collection<String> getIds(Object bean)
           
 String getIdsProperty()
           
 Class<?> getType()
           
 boolean isEmpty()
           
 Set<X> keySet()
           
 Object postProcessBeforeInitialization(Object bean, String beanName)
           
protected  void processBeans(org.springframework.context.ApplicationContext beanFactory)
           
 V put(X key, V value)
           
 void putAll(Map<? extends X,? extends V> m)
           
 V remove(Object key)
           
 void setApplicationContext(org.springframework.context.ApplicationContext ctx)
           
 void setIdsProperty(String idsProperty)
           
 void setType(Class<?> type)
           
 int size()
           
 Collection<V> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected org.springframework.context.ApplicationContext context

type

protected Class<?> type

idsProperty

protected String idsProperty

idToBeanName

protected Map<X,List<String>> idToBeanName

putStore

protected Map<X,V> putStore
Constructor Detail

SpringBeanQNameMap

public SpringBeanQNameMap()
Method Detail

processBeans

protected void processBeans(org.springframework.context.ApplicationContext beanFactory)

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext ctx)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

createMap

public Map<X,V> createMap()
Specified by:
createMap in interface MapProvider<X,V>

getBeanListForId

protected List<String> getBeanListForId(X id)

getIds

protected Collection<String> getIds(Object bean)

postProcessBeforeInitialization

public Object postProcessBeforeInitialization(Object bean,
                                              String beanName)
                                       throws org.springframework.beans.BeansException
Throws:
org.springframework.beans.BeansException

getType

public Class<?> getType()

setType

public void setType(Class<?> type)

getIdsProperty

public String getIdsProperty()

setIdsProperty

public void setIdsProperty(String idsProperty)

clear

public void clear()

containsKey

public boolean containsKey(Object key)

containsValue

public boolean containsValue(Object arg0)

entrySet

public Set<Map.Entry<X,V>> entrySet()

get

public V get(Object key)

isEmpty

public boolean isEmpty()

keySet

public Set<X> keySet()

put

public V put(X key,
             V value)

putAll

public void putAll(Map<? extends X,? extends V> m)

remove

public V remove(Object key)

size

public int size()

values

public Collection<V> values()


Apache CXF