public interface IBeanProvider
Modifier and Type | Method and Description |
---|---|
boolean |
canProvideBean(java.lang.String name)
Returns true if the provider can provide the named bean.
|
java.lang.Object |
getBean(java.lang.String name)
Returns the JavaBean with the specified name.
|
java.util.Collection |
getBeanNames()
Returns a collection of the names of any beans which may
be provided.
|
org.apache.hivemind.ClassResolver |
getClassResolver()
Returns a resource resolver.
|
IComponent |
getComponent()
Returns the
IComponent (which may be a
IPage ) for which
this bean provider is providing beans. |
java.lang.Object getBean(java.lang.String name)
ApplicationRuntimeException
- if no such bean is available.IComponent getComponent()
IComponent
(which may be a
IPage
) for which
this bean provider is providing beans.java.util.Collection getBeanNames()
IComponentSpecification.getBeanNames()
boolean canProvideBean(java.lang.String name)
org.apache.hivemind.ClassResolver getClassResolver()