com.caucho.ejb.hessian
Class HomeStub

java.lang.Object
  extended by com.caucho.ejb.hessian.HessianStub
      extended by com.caucho.ejb.hessian.HomeStub
All Implemented Interfaces:
HessianRemoteObject, java.rmi.Remote, EJBHome

public abstract class HomeStub
extends HessianStub
implements EJBHome

Base class for home stubs.


Field Summary
 
Fields inherited from class com.caucho.ejb.hessian.HessianStub
_client, _resolver, _url, _urlPath
 
Constructor Summary
HomeStub()
           
 
Method Summary
protected  EJBMetaData _ejb_getEJBMetaData()
           
protected  void _ejb_remove(Handle handle)
           
protected  void _ejb_remove(java.lang.Object primaryKey)
           
 EJBMetaData getEJBMetaData()
           
abstract  java.lang.String getHessianType()
           
 HomeHandle getHomeHandle()
          Returns the stub's home handle
 void remove(Handle handle)
          Remove the object specified by the handle from the server.
 void remove(java.lang.Object publicKey)
          Remove the object specified by the public key from the server.
 
Methods inherited from class com.caucho.ejb.hessian.HessianStub
_hessian_freeWriter, _hessian_openWriter, _hessian_writeHeaders, getHessianURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomeStub

public HomeStub()
Method Detail

getHessianType

public abstract java.lang.String getHessianType()
Specified by:
getHessianType in interface HessianRemoteObject

getHomeHandle

public HomeHandle getHomeHandle()
                         throws java.rmi.RemoteException
Returns the stub's home handle

Specified by:
getHomeHandle in interface EJBHome
Throws:
java.rmi.RemoteException

getEJBMetaData

public EJBMetaData getEJBMetaData()
                           throws java.rmi.RemoteException
Specified by:
getEJBMetaData in interface EJBHome
Throws:
java.rmi.RemoteException

remove

public void remove(Handle handle)
            throws java.rmi.RemoteException,
                   RemoveException
Remove the object specified by the handle from the server.

Specified by:
remove in interface EJBHome
Parameters:
handle - the handle to the object to remove
Throws:
java.rmi.RemoteException
RemoveException

remove

public void remove(java.lang.Object publicKey)
            throws java.rmi.RemoteException,
                   RemoveException
Remove the object specified by the public key from the server.

Specified by:
remove in interface EJBHome
Parameters:
publicKey - the public key of the object to remove
Throws:
java.rmi.RemoteException
RemoveException

_ejb_getEJBMetaData

protected EJBMetaData _ejb_getEJBMetaData()
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

_ejb_remove

protected void _ejb_remove(Handle handle)
                    throws java.rmi.RemoteException,
                           RemoveException
Throws:
java.rmi.RemoteException
RemoveException

_ejb_remove

protected void _ejb_remove(java.lang.Object primaryKey)
                    throws java.rmi.RemoteException,
                           RemoveException
Throws:
java.rmi.RemoteException
RemoveException