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