|
||||||||||
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(String name)
Returns true if the provider can provide the named bean. |
Object |
getBean(String name)
Returns the JavaBean with the specified name. |
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 |
---|
Object getBean(String name)
org.apache.hivemind.ApplicationRuntimeException
- if no such bean is available.IComponent getComponent()
IComponent
(which may be a
IPage
) for which this bean provider is
providing beans.
Collection getBeanNames()
IComponentSpecification.getBeanNames()
boolean canProvideBean(String name)
org.apache.hivemind.ClassResolver getClassResolver()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |