Package com.caucho.services.server
Class AbstractSkeleton
java.lang.Object
com.caucho.services.server.AbstractSkeleton
- Direct Known Subclasses:
BurlapSkeleton
,HessianSkeleton
Proxy class for Hessian services.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractSkeleton
(Class apiClass) Create a new hessian skeleton. -
Method Summary
Modifier and TypeMethodDescriptionReturns the API class of the current object.Returns the API class of the factory/home.protected Method
Returns the method by the mangled name.Returns the API class of the object URLsstatic 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.toString()
-
Constructor Details
-
AbstractSkeleton
Create a new hessian skeleton.- Parameters:
apiClass
- the API interface
-
-
Method Details
-
getAPIClassName
Returns the API class of the current object. -
getHomeClassName
Returns the API class of the factory/home. -
setHomeClass
Sets the home API class. -
getObjectClassName
Returns the API class of the object URLs -
setObjectClass
Sets the object API class. -
getMethod
Returns the method by the mangled name.- Parameters:
mangledName
- the name passed by the protocol
-
mangleName
Creates a unique mangled method name based on the method name and the method parameters.- Parameters:
method
- the method to mangleisFull
- if true, mangle the full classname- Returns:
- a mangled string.
-
mangleClass
Mangles a classname. -
toString
-