|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBeanProvider
An object that provides a component with access to helper beans. Helper beans are JavaBeans associated with a page or component that are used to extend the functionality of the component via aggregation.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |