Basic HTML version of Foils prepared Aug 14 1997

Foil 101 JavaBean Design Patterns - II

From JavaBeans CORBA ComponentWare UC Web applications Certificate -- Aug 11,14 97. by Geoffrey C. Fox, Wojtek Furmanski


Events with name E
  • event class name: Eevent
  • event listener class name: Elistener
  • listener methods: public void methodname(Eevent E)
  • listener registration: public void addEListener(Elistener l)
  • listener removal: public void removeEListener(Elistener l)
No constraints on names for methods
BeanInfo class (for Bean B) is BBeanInfo
Property Editor for properties of type T are Teditor
  • can register editors for individual properties via PropertyDescriptor
Customizer for Bean B is typically called BCustomizer and must be a component with a no argument constructor
  • In general register name via BeanDescriptor



© 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