ConfiguredBeanLocator.BeanLoaderListener (Apache CXF API 2.5.0.fuse-70-097 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.configuration
Interface ConfiguredBeanLocator.BeanLoaderListener<T>

Enclosing interface:
  ConfiguredBeanLocator

    public static interface ConfiguredBeanLocator.BeanLoaderListener<T>

Method Summary
`boolean` | `beanLoaded(String name, T bean)` Return true if the bean that was loaded meets the requirements at which point, the loader will stop loading additional beans of the given type
`boolean` | `loadBean(String name, Class<? extends T> type)` Return true to have the loader go ahead and load the bean.

Method Detail

### loadBean

    boolean loadBean(String name,
                     Class<? extends T> type)

  Return true to have the loader go ahead and load the bean. If false, the loader will just skip to the next bean

  Parameters:
    `name` -
    `type` -
  Returns:
    true if the bean should be loaded

### beanLoaded

    boolean beanLoaded(String name,
                       T bean)

  Return true if the bean that was loaded meets the requirements at which point, the loader will stop loading additional beans of the given type

  Parameters:
    `name` -
    `bean` -
  Returns:
    true if the bean meets the requirements of the listener

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF