|
|||||||||
| Home >> All >> com >> mjh >> [ switchrmi overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.mjh.switchrmi
Class GenericReferenceable

java.lang.Objectcom.mjh.switchrmi.GenericReferenceable
- All Implemented Interfaces:
- javax.naming.Referenceable
- Direct Known Subclasses:
- ObjectReferenceable
- public class GenericReferenceable
- extends java.lang.Object
- implements javax.naming.Referenceable
- extends java.lang.Object
| Field Summary | |
private java.lang.String |
className
|
private java.lang.String |
codebase
|
private java.lang.String |
description
|
private java.lang.String |
factoryClassName
|
private java.util.List |
libs
|
private static org.apache.log4j.Logger |
log
|
| Constructor Summary | |
GenericReferenceable()
|
|
GenericReferenceable(java.lang.String name)
|
|
| Method Summary | |
void |
addLibrary(java.lang.String value)
|
protected void |
appendMembers(java.lang.StringBuffer sb)
|
private java.lang.String |
buildClasspath(java.lang.String baseUrl,
java.util.List libs)
|
java.lang.String |
getClassName()
|
java.lang.String |
getCodebase()
|
java.lang.String |
getDescription()
|
java.lang.String |
getFactoryClassName()
|
java.util.List |
getLibraries()
|
javax.naming.Reference |
getReference()
|
void |
setClassName(java.lang.String value)
|
void |
setCodebase(java.lang.String value)
|
void |
setDescription(java.lang.String value)
|
void |
setFactoryClassName(java.lang.String value)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
log
private static final org.apache.log4j.Logger log
className
private java.lang.String className
codebase
private java.lang.String codebase
libs
private java.util.List libs
description
private java.lang.String description
factoryClassName
private java.lang.String factoryClassName
| Constructor Detail |
GenericReferenceable
public GenericReferenceable()
GenericReferenceable
public GenericReferenceable(java.lang.String name)
| 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()).
appendMembers
protected void appendMembers(java.lang.StringBuffer sb)
setClassName
public void setClassName(java.lang.String value)
getClassName
public java.lang.String getClassName()
setCodebase
public void setCodebase(java.lang.String value)
getCodebase
public java.lang.String getCodebase()
addLibrary
public void addLibrary(java.lang.String value)
getLibraries
public java.util.List getLibraries()
setDescription
public void setDescription(java.lang.String value)
getDescription
public java.lang.String getDescription()
setFactoryClassName
public void setFactoryClassName(java.lang.String value)
getFactoryClassName
public java.lang.String getFactoryClassName()
getReference
public javax.naming.Reference getReference() throws javax.naming.NamingException
- Specified by:
getReferencein interfacejavax.naming.Referenceable
buildClasspath
private java.lang.String buildClasspath(java.lang.String baseUrl, java.util.List libs)
|
|||||||||
| Home >> All >> com >> mjh >> [ switchrmi overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.mjh.switchrmi.GenericReferenceable