com.caucho.ejb.hessian
Class HessianProtocol

java.lang.Object
  extended by com.caucho.ejb.protocol.ProtocolContainer
      extended by com.caucho.ejb.hessian.HessianProtocol

public class HessianProtocol
extends ProtocolContainer

Server containing all the EJBs for a given configuration.

Each protocol will extend the container to override Handle creation.


Field Summary
 
Fields inherited from class com.caucho.ejb.protocol.ProtocolContainer
_manager, _urlPrefix
 
Constructor Summary
HessianProtocol()
          Create a server with the given prefix name.
 
Method Summary
 void addServer(AbstractEjbBeanManager server)
          Adds a server to the protocol.
 java.lang.String getName()
           
protected  HessianSkeleton getSkeleton(java.lang.Class api, java.lang.Class homeApi, java.lang.Class remoteApi)
          Returns the class for home skeletons.
 Skeleton getSkeleton(java.lang.String uri, java.lang.String queryString)
          Returns the skeleton
 void removeServer(AbstractEjbBeanManager server)
          Removes a server from the protocol.
 
Methods inherited from class com.caucho.ejb.protocol.ProtocolContainer
getExceptionSkeleton, getProtocolManager, getURLPrefix, getWorkPath, setProtocolManager, setServerManager, setURLPrefix, setWorkPath, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HessianProtocol

public HessianProtocol()
Create a server with the given prefix name.

Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class ProtocolContainer

addServer

public void addServer(AbstractEjbBeanManager server)
Adds a server to the protocol.

Overrides:
addServer in class ProtocolContainer

removeServer

public void removeServer(AbstractEjbBeanManager server)
Removes a server from the protocol.

Overrides:
removeServer in class ProtocolContainer

getSkeleton

public Skeleton getSkeleton(java.lang.String uri,
                            java.lang.String queryString)
                     throws java.lang.Exception
Returns the skeleton

Overrides:
getSkeleton in class ProtocolContainer
Throws:
java.lang.Exception

getSkeleton

protected HessianSkeleton getSkeleton(java.lang.Class api,
                                      java.lang.Class homeApi,
                                      java.lang.Class remoteApi)
                               throws java.lang.Exception
Returns the class for home skeletons.

Throws:
java.lang.Exception