com.caucho.ejb.protocol
Class Skeleton
java.lang.Object
com.caucho.ejb.protocol.Skeleton
- Direct Known Subclasses:
- NameContextSkeleton
public abstract class Skeleton
- extends java.lang.Object
Base class for any bean skeleton capable of handling an BURLAP-RPC 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 |
abstract void |
_service(java.io.InputStream rawIs,
java.io.OutputStream rawOs)
Services the request. |
void |
_service(java.io.InputStream rawIs,
java.io.OutputStream rawOs,
java.lang.Throwable e)
Services the request. |
void |
setDebug(boolean isDebug)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Skeleton
public Skeleton()
setDebug
public void setDebug(boolean isDebug)
_service
public abstract void _service(java.io.InputStream rawIs,
java.io.OutputStream rawOs)
throws java.lang.Exception
- Services the request.
burlap:call ::= (header | require, object)*, method, object*
- Parameters:
rawIs
- the raw input stream from the servlet requestrawOs
- the raw output stream to the servlet response
- Throws:
java.lang.Exception
_service
public void _service(java.io.InputStream rawIs,
java.io.OutputStream rawOs,
java.lang.Throwable e)
throws java.lang.Exception
- Services the request.
- Parameters:
rawIs
- the raw input stream from the servlet requestrawOs
- the raw output stream to the servlet response
- Throws:
java.lang.Exception