| Modifier and Type | Method and Description |
|---|---|
Map<String,Bean> |
SpringConfigParser.load(Collection<String> configurationFiles)
Load a set of configuration files
|
Map<String,Bean> |
SpringConfigParser.load(String configurationFile)
Load a single configuration file
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpringConfigParser.handleNodes(Bean bean,
String propName,
NodeList nodes)
Handle all bean's properties nodes
|
| Modifier and Type | Method and Description |
|---|---|
Bean |
BeanContainerImpl.duplicateBean(String id,
String alias,
Bean parent,
boolean isAnonymous) |
Bean |
BeanContainer.duplicateBean(String id,
String alias,
Bean source,
boolean isAnonymous)
Duplicate a Bean's definition, changing id, alias and anonymous status on the fly
|
Bean |
BeanContainerImpl.getBean(String id)
Resolve a bean by name, id or alias
|
Bean |
AcknowledgeableBeanContainer.getBean(String id) |
Bean |
SimpleBeanContainer.getBean(String id)
Retrieve a Bean using its id
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Bean> |
BeanContainerImpl.getBeans()
Retrieve all resolved Beans in the container
|
Map<String,Bean> |
AcknowledgeableBeanContainer.getBeans() |
Map<String,Bean> |
SimpleBeanContainer.getBeans() |
LinkedList<Bean> |
BeanContainerImpl.getOrderedBeans() |
LinkedList<Bean> |
BeanContainer.getOrderedBeans()
Resolve beans dependencies to order them so that for each Bean, all its dependencies are ordered before it
|
| Modifier and Type | Method and Description |
|---|---|
Bean |
BeanContainerImpl.duplicateBean(String id,
String alias,
Bean parent,
boolean isAnonymous) |
Bean |
BeanContainer.duplicateBean(String id,
String alias,
Bean source,
boolean isAnonymous)
Duplicate a Bean's definition, changing id, alias and anonymous status on the fly
|
void |
BeanContainerImpl.register(Bean bean)
Register a bean in the bean map
|
void |
BeanContainer.register(Bean bean)
Register a Bean in the container
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeanContainerImpl.register(Map<String,Bean> beans)
Register a set of beans in the bean map
|
void |
BeanContainer.register(Map<String,Bean> beans)
Register a set of Beans in the container
|
| Modifier and Type | Method and Description |
|---|---|
String |
ResolvedBeanCallback.onResolve(Bean bean,
Node beanNode,
NamedNodeMap beanAttributes,
boolean isAnonymous,
BeanContainer container)
Callback method when a new Bean is resolved
|
| Modifier and Type | Class and Description |
|---|---|
class |
CollectionBean |
| Modifier and Type | Method and Description |
|---|---|
int |
Bean.compareTo(Bean bean) |
| Constructor and Description |
|---|
Bean(String id,
Bean parent,
boolean anonymous)
Kind of copy constructor to construct a bean from a parent
|
| Modifier and Type | Method and Description |
|---|---|
void |
NodeParserPlugin.handleNode(Bean bean,
Node node)
Handle a specific node to enrich the passed bean
|
void |
BeanParser.handleNodes(Bean bean,
String propName,
NodeList propChilds)
Handle a bean's sub property
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BeanPropertiesParserPlugin.handleBeanProperties(Bean bean,
NodeList propsRef) |
void |
ConstructorArgsPlugin.handleNode(Bean bean,
Node beanNode)
Parse the XML
|
void |
BeanPropertiesParserPlugin.handleNode(Bean bean,
Node node) |
protected void |
PropertiesPlugin.handleProperties(Bean collecBean,
NodeList entries)
Handle properties node (which is a kind of Map
|
String |
BeanPlugin.onResolve(Bean bean,
Node beanNode,
NamedNodeMap beanAttributes,
boolean isAnonymous,
BeanContainer container)
Important: do not use the beanParser.getContainer() here as the points at the initial BeanContainer used when processing the
|
protected String |
BeanPlugin.processBeanNodeAttributes(Node beanNode,
NamedNodeMap beanAttributes,
String id,
String alias,
boolean isAnonymous,
Bean bean,
BeanContainer container)
Process a
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SpringPParserPlugin.handleAttributes(Bean bean,
NamedNodeMap beanAttributes) |
void |
SpringPParserPlugin.handleNode(Bean bean,
Node node) |
Copyright © 2012-2013 Static IOC OSS project. All Rights Reserved.