Apache CXF API

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 org.apache.cxf.configuration.spring.AbstractSpringBeanMap.Entry<X,V>
           
 
Field Summary
protected  org.springframework.context.ApplicationContext context
           
protected  String idsProperty
           
protected  ConcurrentHashMap<X,List<String>> idToBeanName
           
protected  ConcurrentHashMap<X,V> putStore
           
protected  String staticFieldName
           
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<X> getIds(Object bean)
           
 String getIdsProperty()
           
 String getStaticFieldName()
           
 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 setStaticFieldName(String staticFieldName)
           
 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

staticFieldName

protected String staticFieldName

idToBeanName

protected ConcurrentHashMap<X,List<String>> idToBeanName

putStore

protected ConcurrentHashMap<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<X> 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)

getStaticFieldName

public String getStaticFieldName()

setStaticFieldName

public void setStaticFieldName(String staticFieldName)

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 API

Apache CXF