Basic HTML version of Foils prepared Aug 14 1997

Foil 15 BeanInfo

From JavaBeans Examples UC Web applications Certificate -- Aug 11,14 97. by Nancy McCracken


1 So far the beans we've seen have used standard patterns to expose their properties, methods, and events to a builder's tool. For more general introspection, you can proved a class specifically to describe the bean.
2 This class implements the java.beans.BeanInfo interface.
3 If you have a Bean class named Xyz, the its BeanInfo class is named XyzBeanInfo.
4 If you don't want to supply new versions of all the methods in the BeanInfo interface, you can extend the class java.beans.SimpleBeanInfo, which provide null methods. For any method which is null, a builder's tool will use the standard reflection to find standard properties, etc.

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Jan 8 1998