com.caucho.ejb.protocol
Class AbstractHandle
java.lang.Object
com.caucho.ejb.protocol.AbstractHandle
- All Implemented Interfaces:
- java.io.Serializable, Handle
- Direct Known Subclasses:
- BurlapHandle, HandleImpl, HessianHandle
public abstract class AbstractHandle
- extends java.lang.Object
- implements Handle
Handle implementation for EJB Objects.
String url = "http://localhost:8080/ejb/houses/Gryffindor";
HandleImpl handle = new HandleImpl(url);
test.RemoteBean bean = (test.RemoteBean) handle.getEJBObject();
- See Also:
- Serialized Form
|
Field Summary |
protected static java.util.logging.Logger |
log
|
|
Method Summary |
abstract java.lang.String |
getObjectId()
Returns the object id for the handle. |
java.lang.Class |
getType()
Returns the remote API class. |
abstract java.lang.String |
getURL(java.lang.String protocol)
Returns the URL for a particular protocol. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final java.util.logging.Logger log
AbstractHandle
public AbstractHandle()
getObjectId
public abstract java.lang.String getObjectId()
- Returns the object id for the handle.
getType
public java.lang.Class getType()
- Returns the remote API class.
getURL
public abstract java.lang.String getURL(java.lang.String protocol)
- Returns the URL for a particular protocol.