|
LDAPJDK 4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The LDAPTraceWriter
interface enables logging of LDAP
trace messages in environments where an OutputStream can not be used.
The interface is primarily meant for integrating LDAP tracing with the servlet log facility:
servletCtx = config.getServletContext(); ... LDAPConnection ld = new LDAPConnection(); ld.setProperty(ld.TRACE_PROPERTY, new LDAPTraceWriter() { public void write (String msg) { servletCtx.log(msg); } });
LDAPConnection.setProperty(java.lang.String, java.lang.Object)
Method Summary | |
void |
write(java.lang.String msg)
Writes an LDAP trace message. |
Method Detail |
public void write(java.lang.String msg)
msg
- An incoming or outgoing LDAP messageLDAPConnection.setProperty(java.lang.String, java.lang.Object)
|
LDAPJDK 4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |