|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfiguredBeanLocator
Nested Class Summary | |
---|---|
static interface |
ConfiguredBeanLocator.BeanLoaderListener<T>
|
Method Summary | ||
---|---|---|
java.util.List<java.lang.String> |
getBeanNamesOfType(java.lang.Class<?> type)
Gets the names of all the configured beans of the specific type. |
|
|
getBeanOfType(java.lang.String name,
java.lang.Class<T> type)
Returns the bean of the given type and name. |
|
|
getBeansOfType(java.lang.Class<T> type)
Gets all the configured beans of the specific types. |
|
boolean |
hasConfiguredPropertyValue(java.lang.String beanName,
java.lang.String propertyName,
java.lang.String value)
For supporting "legacy" config, checks the configured bean to see if it has a property configured with the given name/value. |
|
|
loadBeansOfType(java.lang.Class<T> type,
ConfiguredBeanLocator.BeanLoaderListener<T> listener)
Iterates through the beans of the given type, calling the listener to determine if it should be loaded or not. |
Method Detail |
---|
java.util.List<java.lang.String> getBeanNamesOfType(java.lang.Class<?> type)
type
-
<T> java.util.Collection<? extends T> getBeansOfType(java.lang.Class<T> type)
T
- type
-
<T> T getBeanOfType(java.lang.String name, java.lang.Class<T> type)
T
- name
- type
-
<T> boolean loadBeansOfType(java.lang.Class<T> type, ConfiguredBeanLocator.BeanLoaderListener<T> listener)
T
- type
- listener
-
boolean hasConfiguredPropertyValue(java.lang.String beanName, java.lang.String propertyName, java.lang.String value)
T
- type
- property
- value
-
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |