org.apache.cxf.configuration.spring
Class SpringBeanQNameMap<V>
java.lang.Object
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>
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
SpringBeanQNameMap
public SpringBeanQNameMap()
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