java.lang.Object | |
↳ | org.apache.archiva.redback.components.springutils.ComponentContainer |
utility class to mimic some behaviour of the plexus container with role#hint
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | BEAN_NAME_ROLEHINTSEPARATOR |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
applicationContext |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
must be used only at startup of container (ie in initialize method as it
can cause performance issue http://jira.springframework.org/browse/SPR-5360
Produce a map with hint as key and bean as value. | |||||||||||
Mimic of lookupMap from plexus.
| |||||||||||
must be used only at startup of container (ie in initialize method as it
can cause performance issue http://jira.springframework.org/browse/SPR-5360
Returns bean of type T and hint . | |||||||||||
must be used only at startup of container (ie in initialize method as it
can cause performance issue http://jira.springframework.org/browse/SPR-5360
Returns bean of type T. | |||||||||||
Return true if one and only bean of type T exists.
| |||||||||||
Return true if one and only bean of type T and hint exists.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
must be used only at startup of container (ie in initialize method as it
can cause performance issue http://jira.springframework.org/browse/SPR-5360
Produce a map with hint as key and bean as value.
An internal map is used to cache call to #buildMapWithRole
Mimic of lookupMap from plexus.
Ex: if the bean is called "foo#mine" "AvlRqBuilder#1"A
then the map will contains mine as key with the bean foo#mine as value
if no # in the bean name then the bean name will be as it's returned.
must be used only at startup of container (ie in initialize method as it
can cause performance issue http://jira.springframework.org/browse/SPR-5360
Returns bean of type T and hint .
must be used only at startup of container (ie in initialize method as it
can cause performance issue http://jira.springframework.org/browse/SPR-5360
Returns bean of type T.
It must be unique of not RuntimeException
Return true if one and only bean of type T exists.
Return true if one and only bean of type T and hint exists.