|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by JavaBeans that act as UI stand-ins for one or more 'custom' or user-defined JavaBeans. The class that implements this interface will be asked by the UI container to supply the names of any beans for which it is a stand-in, and will also be called on to instantiate instances of those beans.
Method Summary | |
String[] |
getAdditionalBeanNames()
Gets the names of the beans that this wrapper object is able to instantiate. |
Object |
instantiateBean(String beanName,
BeanContext beanContext)
Instantiate a bean known to this object. |
Method Detail |
public String[] getAdditionalBeanNames() throws Exception
null
return value indicates that there
are no additional beans known to this object.public Object instantiateBean(String beanName, BeanContext beanContext) throws Exception
getAdditionalBeanNames
method. This method is required to
preserve the semantics of the
java.beans.Beans.instantiate(ClassLoader, String, BeanContext)
method. In most cases it will do this by delegating to
java.beans.Beans.instantiate()
, passing it a
ClassLoader
that is capable of loading the bean class.beanName
- the name of the bean to instantiate.beanContext
- the BeanContext in which to nest the new bean.
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |