com.caucho.ejb.hessian
Class NameContextSkeleton
java.lang.Object
com.caucho.ejb.protocol.Skeleton
com.caucho.ejb.hessian.NameContextSkeleton
public class NameContextSkeleton
- extends Skeleton
Base class for any bean skeleton capable of handling a Hessian request.
Once selected, the calling servlet will dispatch the request through
the _service
call. After parsing the request headers,
_service
calls the generated entry _execute
to execute the request.
Method Summary |
void |
_service(java.io.InputStream is,
java.io.OutputStream os)
Services the request. |
protected void |
executeUnknown(java.lang.String method,
java.lang.Object[] args,
Hessian2Input in,
Hessian2Output out)
Executes an unknown method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_service
public void _service(java.io.InputStream is,
java.io.OutputStream os)
throws java.lang.Exception
- Services the request.
- Specified by:
_service
in class Skeleton
- Parameters:
is
- the raw input stream from the servlet requestos
- the raw output stream to the servlet response
- Throws:
java.lang.Exception
executeUnknown
protected void executeUnknown(java.lang.String method,
java.lang.Object[] args,
Hessian2Input in,
Hessian2Output out)
throws java.lang.Exception
- Executes an unknown method.
- Parameters:
method
- the method name to match.in
- the hessian input streamout
- the hessian output stream
- Throws:
java.lang.Exception