Invisible LDAP JavaBeans

The first set of JavaBeans we'll look at are "invisible Beans." These JavaBeans wrap subsets of the SDK functionality, but they provide no GUI interface.

All these invisible JavaBeans extend the common base class LDAPBasePropertySupport, illustrated in Figure 10-1. This class provides standard methods for accessing SDK properties, a method for connecting to the directory, and an event dispatcher for property change events. Property change events are the simplest and probably the most common events used by JavaBeans to notify other components of significant changes. Let's take a look at the implementation of the LDAPBasePropertySupport class.

Figure 10-1. LDAPBasePropertySupport.

LDAPBasePropertySupport

One of the ...

Get LDAP Programming with Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.