org.apache.cxf.configuration.spring
Class SpringBeanMap<V>
java.lang.Object
org.apache.cxf.configuration.spring.SpringBeanMap<V>
- All Implemented Interfaces:
- Serializable, MapProvider<String,V>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
public class SpringBeanMap<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
idToBeanName
protected Map<X,List<String>> idToBeanName
putStore
protected Map<X,V> putStore
SpringBeanMap
public SpringBeanMap()
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