Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mjh.switchrmi
Class ObjectReferenceable  view ObjectReferenceable download ObjectReferenceable.java

java.lang.Object
  extended bycom.mjh.switchrmi.GenericReferenceable
      extended bycom.mjh.switchrmi.ObjectReferenceable
All Implemented Interfaces:
javax.naming.Referenceable

public class ObjectReferenceable
extends GenericReferenceable
implements javax.naming.Referenceable


Field Summary
static java.lang.String INTERFACE_ADDR
           
(package private)  java.util.List interfaces
           
(package private)  java.lang.String name
           
(package private)  java.lang.String scope
           
(package private)  java.lang.String type
           
(package private)  java.util.Map typeInfo
           
private static java.util.Map types
           
 
Fields inherited from class com.mjh.switchrmi.GenericReferenceable
 
Constructor Summary
ObjectReferenceable()
           
 
Method Summary
 void addInterface(java.lang.String interfaceName)
           
protected  void appendMembers(java.lang.StringBuffer sb)
           
 java.lang.String[] getInterfaces()
           
 java.lang.String getName()
           
 java.lang.String getScope()
           
 java.lang.Object getTypeValue(java.lang.String key)
           
 void setName(java.lang.String value)
           
 void setScope(java.lang.String value)
           
 void setType(java.lang.String value)
           
 void setTypeInfo(java.util.Map info)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class com.mjh.switchrmi.GenericReferenceable
addLibrary, getClassName, getCodebase, getDescription, getFactoryClassName, getLibraries, getReference, setClassName, setCodebase, setDescription, setFactoryClassName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.naming.Referenceable
getReference
 

Field Detail

types

private static java.util.Map types

INTERFACE_ADDR

public static final java.lang.String INTERFACE_ADDR
See Also:
Constant Field Values

name

java.lang.String name

scope

java.lang.String scope

interfaces

java.util.List interfaces

type

java.lang.String type

typeInfo

java.util.Map typeInfo
Constructor Detail

ObjectReferenceable

public ObjectReferenceable()
Method Detail

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).

Overrides:
toString in class GenericReferenceable

appendMembers

protected void appendMembers(java.lang.StringBuffer sb)
Overrides:
appendMembers in class GenericReferenceable

setName

public void setName(java.lang.String value)

getName

public java.lang.String getName()

setScope

public void setScope(java.lang.String value)

getScope

public java.lang.String getScope()

addInterface

public void addInterface(java.lang.String interfaceName)

setType

public void setType(java.lang.String value)

setTypeInfo

public void setTypeInfo(java.util.Map info)

getInterfaces

public java.lang.String[] getInterfaces()

getTypeValue

public java.lang.Object getTypeValue(java.lang.String key)