|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.thortech.xl.util.adapters.tcUtilLDAPListener
public abstract class tcUtilLDAPListener
LDAP Listener Utility class
Constructor Summary | |
---|---|
tcUtilLDAPListener(java.lang.String psServer, java.lang.String psRootContext, java.lang.String psPrincipal, java.lang.String psPassword) Creates a new tcUtilLDAPListener object. |
Method Summary | |
---|---|
abstract void |
addObject(java.lang.String psRDN, java.util.Hashtable poAttribs) Method called when an object is added |
abstract void |
modifyObject(java.lang.String psRDN, java.util.Hashtable poAttribs) Method called when an object is added |
void |
namingExceptionThrown(javax.naming.event.NamingExceptionEvent evt) Method notified (called) when an exception is thrown |
void |
objectAdded(javax.naming.event.NamingEvent evt) Method notified (called) when a new object is added |
void |
objectChanged(javax.naming.event.NamingEvent evt) Method notified (called) when an object is modified |
void |
objectRemoved(javax.naming.event.NamingEvent evt) Method notified (called) when an object is removed |
void |
objectRenamed(javax.naming.event.NamingEvent evt) Method notified (called) when an object is renamed (rdn changes) |
abstract void |
removeObject(java.lang.String psRDN) Method called when an object is added |
abstract void |
renameObject(java.lang.String psOldRDN, java.lang.String psNewRDN) Method called when an object is added |
void |
startListening() The work method of the Listener. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public tcUtilLDAPListener(java.lang.String psServer, java.lang.String psRootContext, java.lang.String psPrincipal, java.lang.String psPassword) throws java.lang.Exception
psServer
-psRootContext
-psPrincipal
-psPassword
-java.lang.Exception
Method Detail |
---|
public final void startListening()
public final void objectAdded(javax.naming.event.NamingEvent evt)
objectAdded
in interface javax.naming.event.NamespaceChangeListener
evt
-public final void objectRemoved(javax.naming.event.NamingEvent evt)
objectRemoved
in interface javax.naming.event.NamespaceChangeListener
evt
-public final void objectRenamed(javax.naming.event.NamingEvent evt)
objectRenamed
in interface javax.naming.event.NamespaceChangeListener
evt
-public final void objectChanged(javax.naming.event.NamingEvent evt)
objectChanged
in interface javax.naming.event.ObjectChangeListener
evt
-public void namingExceptionThrown(javax.naming.event.NamingExceptionEvent evt)
namingExceptionThrown
in interface javax.naming.event.NamingListener
evt
-public abstract void addObject(java.lang.String psRDN, java.util.Hashtable poAttribs)
psRDN
- The RDN of the object added, relative to the rootcontextpoAttribs
- The hashtable containing the attribute-value pairs. The key is the attribute name. The value is a vector of string objects holding the value(s) of that attributepublic abstract void removeObject(java.lang.String psRDN)
psRDN
- The RDN of the object added, relative to the rootcontextpublic abstract void renameObject(java.lang.String psOldRDN, java.lang.String psNewRDN)
psOldRDN
- The Old RDN of the object renamed, relative to the rootcontextpsNewRDN
- The New RDN of the object renamed, relative to the rootcontextpublic abstract void modifyObject(java.lang.String psRDN, java.util.Hashtable poAttribs)
psRDN
- The RDN of the object modified, relative to the rootcontextpoAttribs
- The hashtable containing the attribute-value pairs. The key is the attribute name. The value is a vector of string objects holding the value(s) of that attribute
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |