Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » naming » core » [javadoc | source]
org.apache.naming.core
public class: ServerBinding [javadoc | source]
java.lang.Object
   javax.naming.NameClassPair
      javax.naming.Binding
         org.apache.naming.core.ServerBinding

All Implemented Interfaces:
    Serializable

This is used for both NameClass and Binding. Lazy eval - so the extra methods in Binding don't affect us. For most contexts we'll deal getting the class name is as expensive as getting the object. In addition most operations will only use the name.
Constructor:
 public ServerBinding(String name,
    Context ctx,
    boolean isRelative) 
Method from org.apache.naming.core.ServerBinding Summary:
getClassName,   getName,   getObject,   isRelative,   recycle,   setClassName,   setName,   setObject,   setRelative,   toString
Methods from javax.naming.Binding:
getClassName,   getObject,   setObject,   toString
Methods from javax.naming.NameClassPair:
getClassName,   getName,   getNameInNamespace,   isRelative,   setClassName,   setName,   setNameInNamespace,   setRelative,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.naming.core.ServerBinding Detail:
 public String getClassName() 
 public String getName() 
 public Object getObject() 
 public boolean isRelative() 
 public  void recycle() 
 public  void setClassName(String name) 
 public  void setName(String name) 
 public  void setObject(Object obj) 
 public  void setRelative(boolean r) 
 public String toString() 
    Generates the string representation of this name/class pair. The string representation consists of the name and class name separated by a colon (':'). The contents of this string is useful for debugging and is not meant to be interpreted programmatically.