API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming. Binding View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.9 05/11/17
Serial
Hierarchy
 Object
      NameClassPair
          Binding
Implements
Subclasses
Description
public class Binding
  This class represents a name-to-object binding found in a context.
See also:   
Constructors
public Binding (String name, Object obj)
  Constructs an instance of a Binding given its name and object.
public Binding (String name, Object obj, boolean isRelative)
  Constructs an instance of a Binding given its name, object, and whether the name is relative.
public Binding (String name, String className, Object obj)
  Constructs an instance of a Binding given its name, class name, and object.
public Binding (String name, String className, Object obj, boolean isRelative)
  Constructs an instance of a Binding given its name, class name, object, and whether the name is relative.
Methods
Hide/Show inherited methods
public String getClassName () [Overrides NameClassPair]
  Retrieves the class name of the object bound to the name of this binding.
public String getName () [Inherited From NameClassPair]
  Retrieves the name of this binding.
public String getNameInNamespace () [Inherited From NameClassPair]
  Retrieves the full name of this binding.
public Object getObject ()
  Retrieves the object bound to the name of this binding.
public boolean isRelative () [Inherited From NameClassPair]
  Determines whether the name of this binding is relative to the target context (which is named by the first parameter of the list() method).
public void setClassName (String name) [Inherited From NameClassPair]
  Sets the class name of this binding.
public void setName (String name) [Inherited From NameClassPair]
  Sets the name of this binding.
public void setNameInNamespace (String fullName) [Inherited From NameClassPair]
  Sets the full name of this binding.
public void setObject (Object obj)
  Sets the object associated with this binding.
public void setRelative (boolean r) [Inherited From NameClassPair]
  Sets whether the name of this binding is relative to the target context (which is named by the first parameter of the list() method).
public String toString () [Overrides NameClassPair]
  Generates the string representation of this binding.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar