|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.ejb.protocol.HandleEncoder
com.caucho.ejb.hessian.HessianHandleEncoder
public class HessianHandleEncoder
Encodes and decodes handles.
| Constructor Summary | |
|---|---|
HessianHandleEncoder(AbstractServer server,
java.lang.String serverId,
java.lang.Class primaryKeyClass)
|
|
| Method Summary | |
|---|---|
AbstractHandle |
createHandle(java.lang.String objectId)
Creates a handle given the server id and the object id. |
AbstractHomeHandle |
createHomeHandle()
Creates a home handle given the server id. |
java.lang.String |
createRandomStringKey()
Creates a random string key which hashes to this server. |
java.lang.Object |
objectIdToKey(java.lang.Object objectKey)
Converts a string object id to the correct key. |
| Methods inherited from class com.caucho.ejb.protocol.HandleEncoder |
|---|
encodePrimaryKey, getServer, getServerId, getURL, getURL, setServer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HessianHandleEncoder(AbstractServer server,
java.lang.String serverId,
java.lang.Class primaryKeyClass)
throws ConfigException
ConfigException| Method Detail |
|---|
public AbstractHomeHandle createHomeHandle()
createHomeHandle in class HandleEncoderpublic AbstractHandle createHandle(java.lang.String objectId)
createHandle in class HandleEncoderpublic java.lang.String createRandomStringKey()
createRandomStringKey in class HandleEncoderpublic java.lang.Object objectIdToKey(java.lang.Object objectKey)
objectIdToKey in class HandleEncoder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||