Example usage for javax.naming.directory DirContext toString

List of usage examples for javax.naming.directory DirContext toString

Introduction

In this page you can find the example usage for javax.naming.directory DirContext toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

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

/**
 * @see java.lang.Object#toString()/*  ww w.  java  2 s .co m*/
 */
public String toString() {
    final DirContext context = this.getInnermostDelegateDirContext();
    return (context != null ? context.toString() : "DirContext is closed");
}