|
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 | ||
---|---|---|
List<String> |
getBeanNamesOfType(Class<?> type)
Gets the names of all the configured beans of the specific type. |
|
|
getBeanOfType(String name,
Class<T> type)
Gets the bean of the given name and type |
|
|
getBeansOfType(Class<T> type)
Gets all the configured beans of the specific types. |
|
boolean |
hasBeanOfName(String name)
|
|
boolean |
hasConfiguredPropertyValue(String beanName,
String propertyName,
String value)
For supporting "legacy" config, checks the configured bean to see if it has a property configured with the given name/value. |
|
|
loadBeansOfType(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 |
---|
List<String> getBeanNamesOfType(Class<?> type)
type
-
<T> T getBeanOfType(String name, Class<T> type)
name
- type
-
<T> Collection<? extends T> getBeansOfType(Class<T> type)
type
-
<T> boolean loadBeansOfType(Class<T> type, ConfiguredBeanLocator.BeanLoaderListener<T> listener)
type
- listener
-
boolean hasConfiguredPropertyValue(String beanName, String propertyName, String value)
beanName
- propertyName
- value
-
boolean hasBeanOfName(String name)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |