public abstract class AbstractSkeleton
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractSkeleton(java.lang.Class apiClass)
Create a new hessian skeleton.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAPIClassName()
Returns the API class of the current object.
|
java.lang.String |
getHomeClassName()
Returns the API class of the factory/home.
|
protected java.lang.reflect.Method |
getMethod(java.lang.String mangledName)
Returns the method by the mangled name.
|
java.lang.String |
getObjectClassName()
Returns the API class of the object URLs
|
static java.lang.String |
mangleClass(java.lang.Class cl,
boolean isFull)
Mangles a classname.
|
static java.lang.String |
mangleName(java.lang.reflect.Method method,
boolean isFull)
Creates a unique mangled method name based on the method name and
the method parameters.
|
void |
setHomeClass(java.lang.Class homeAPI)
Sets the home API class.
|
void |
setObjectClass(java.lang.Class objectAPI)
Sets the object API class.
|
java.lang.String |
toString() |
protected AbstractSkeleton(java.lang.Class apiClass)
apiClass
- the API interfacepublic java.lang.String getAPIClassName()
public java.lang.String getHomeClassName()
public void setHomeClass(java.lang.Class homeAPI)
public java.lang.String getObjectClassName()
public void setObjectClass(java.lang.Class objectAPI)
protected java.lang.reflect.Method getMethod(java.lang.String mangledName)
mangledName
- the name passed by the protocolpublic static java.lang.String mangleName(java.lang.reflect.Method method, boolean isFull)
method
- the method to mangleisFull
- if true, mangle the full classnamepublic static java.lang.String mangleClass(java.lang.Class cl, boolean isFull)
public java.lang.String toString()
toString
in class java.lang.Object