|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.ejb.protocol.AbstractHandle
com.caucho.ejb.hessian.HessianHandle
public class HessianHandle
Handle implementation for Hessian Objects.
String url = "http://localhost:8080/ejb/houses/Gryffindor";
HessianHandle handle = new HessianHandle(url);
test.RemoteBean bean = (test.RemoteBean) handle.getEJBObject();
| Field Summary |
|---|
| Fields inherited from class com.caucho.ejb.protocol.AbstractHandle |
|---|
log |
| Constructor Summary | |
|---|---|
HessianHandle()
Null-arg constructor for serialization. |
|
HessianHandle(java.lang.String url)
Create a new handle. |
|
HessianHandle(java.lang.String url,
java.lang.Object key)
Create a new handle. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true if equals. |
EJBObject |
getEJBObject()
|
java.lang.String |
getObjectId()
Returns the object id |
java.lang.Object |
getObjectKey()
Returns the object id |
java.lang.String |
getServerId()
Returns the server id |
java.lang.String |
getURL()
Returns the url |
java.lang.String |
getURL(java.lang.String protocol)
Returns the url |
int |
hashCode()
Returns the hash code. |
java.lang.String |
toString()
Returns the string. |
| Methods inherited from class com.caucho.ejb.protocol.AbstractHandle |
|---|
getType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HessianHandle()
public HessianHandle(java.lang.String url)
public HessianHandle(java.lang.String url,
java.lang.Object key)
| Method Detail |
|---|
public java.lang.String getServerId()
public java.lang.String getObjectId()
getObjectId in class AbstractHandle
public EJBObject getEJBObject()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic java.lang.Object getObjectKey()
public java.lang.String getURL()
public java.lang.String getURL(java.lang.String protocol)
getURL in class AbstractHandlepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||