|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.services.server.AbstractSkeleton
com.caucho.hessian.server.HessianSkeleton
public class HessianSkeleton
Proxy class for Hessian services.
Nested Class Summary | |
---|---|
(package private) static class |
HessianSkeleton.LogWriter
|
Field Summary | |
---|---|
private HessianFactory |
_hessianFactory
|
private HessianInputFactory |
_inputFactory
|
private boolean |
_isDebug
|
private java.lang.Object |
_service
|
private static java.util.logging.Logger |
log
|
Constructor Summary | |
---|---|
HessianSkeleton(java.lang.Class apiClass)
Create a new hessian skeleton. |
|
HessianSkeleton(java.lang.Object service,
java.lang.Class apiClass)
Create a new hessian skeleton. |
Method Summary | |
---|---|
protected java.io.PrintWriter |
createDebugPrintWriter()
Creates the PrintWriter for debug output. |
void |
invoke(AbstractHessianInput in,
AbstractHessianOutput out)
Invoke the object with the request from the input stream. |
void |
invoke(java.io.InputStream is,
java.io.OutputStream os)
Invoke the object with the request from the input stream. |
void |
invoke(java.io.InputStream is,
java.io.OutputStream os,
SerializerFactory serializerFactory)
Invoke the object with the request from the input stream. |
void |
invoke(java.lang.Object service,
AbstractHessianInput in,
AbstractHessianOutput out)
Invoke the object with the request from the input stream. |
boolean |
isDebug()
|
protected boolean |
isDebugInvoke()
|
void |
setDebug(boolean isDebug)
|
void |
setHessianFactory(HessianFactory factory)
|
Methods inherited from class com.caucho.services.server.AbstractSkeleton |
---|
getAPIClassName, getHomeClassName, getMethod, getObjectClassName, mangleClass, mangleName, setHomeClass, setObjectClass, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final java.util.logging.Logger log
private boolean _isDebug
private HessianInputFactory _inputFactory
private HessianFactory _hessianFactory
private java.lang.Object _service
Constructor Detail |
---|
public HessianSkeleton(java.lang.Object service, java.lang.Class apiClass)
service
- the underlying service object.apiClass
- the API interfacepublic HessianSkeleton(java.lang.Class apiClass)
service
- the underlying service object.apiClass
- the API interfaceMethod Detail |
---|
public void setDebug(boolean isDebug)
public boolean isDebug()
public void setHessianFactory(HessianFactory factory)
public void invoke(java.io.InputStream is, java.io.OutputStream os) throws java.lang.Exception
in
- the Hessian input streamout
- the Hessian output stream
java.lang.Exception
public void invoke(java.io.InputStream is, java.io.OutputStream os, SerializerFactory serializerFactory) throws java.lang.Exception
in
- the Hessian input streamout
- the Hessian output stream
java.lang.Exception
public void invoke(AbstractHessianInput in, AbstractHessianOutput out) throws java.lang.Exception
in
- the Hessian input streamout
- the Hessian output stream
java.lang.Exception
public void invoke(java.lang.Object service, AbstractHessianInput in, AbstractHessianOutput out) throws java.lang.Exception
in
- the Hessian input streamout
- the Hessian output stream
java.lang.Exception
protected boolean isDebugInvoke()
protected java.io.PrintWriter createDebugPrintWriter() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |