Example usage for javax.naming.ldap LdapContext toString

List of usage examples for javax.naming.ldap LdapContext toString

Introduction

In this page you can find the example usage for javax.naming.ldap LdapContext toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

From source file:org.springframework.ldap.pool.DelegatingLdapContext.java

/**
 * @see java.lang.Object#toString()//from  w ww. ja  va  2s  .com
 */
public String toString() {
    final LdapContext context = this.getInnermostDelegateLdapContext();
    return (context != null ? context.toString() : "LdapContext is closed");
}