| |
|
| java.lang.Object com.caucho.ejb.protocol.AbstractHandle com.caucho.ejb.protocol.HandleImpl
HandleImpl | public class HandleImpl extends AbstractHandle (Code) | | Handle implementation for EJB Objects.
String url = "http://localhost:8080/ejb/houses?ejbid=Gryffindor";
HandleImpl handle = new HandleImpl(url);
test.RemoteBean bean = (test.RemoteBean) handle.getEJBObject();
|
HandleImpl | public HandleImpl()(Code) | | Null constructor for serialization.
|
HandleImpl | public HandleImpl(String serverId, String objectId)(Code) | | Create a new HandleImpl
Parameters: serverId - the object's server Parameters: objectKey - the object id |
equals | public boolean equals(Object b)(Code) | | Returns true if the test handle refers to the same object.
In this implementation, the handles are identical iff the urls
are identical.
|
getObjectId | public String getObjectId()(Code) | | Returns the URL suffix used as a primary key.
|
getServerId | public String getServerId()(Code) | | Return the URL prefix for the bean's home.
|
hashCode | public int hashCode()(Code) | | The handle's hashcode is the same as the url's hashcode
|
toString | public String toString()(Code) | | The printed representation of the handle is the url.
|
|
|
|