|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.ejb.protocol.ClientContainer
public abstract class ClientContainer
Container for EJB stubs.
| Field Summary | |
|---|---|
protected HandleEncoder |
_handleEncoder
|
protected static L10N |
L
|
protected static java.util.logging.Logger |
log
|
| Constructor Summary | |
|---|---|
protected |
ClientContainer(java.lang.String serverId)
Creates a new client container |
| Method Summary | |
|---|---|
protected abstract EJBHome |
createHomeStub()
Creates the home stub for the container. |
protected abstract EJBObject |
createObjectStub(java.lang.String url)
Creates the stub for the remote object for the given Handle. |
java.lang.Object |
getEJBLocalHome()
Returns the home stub for the container. |
HandleEncoder |
getHandleEncoder(AbstractHandle handle)
|
EJBHome |
getHomeStub()
Returns the home stub for the container. |
EJBObject |
getObjectStub(java.lang.String url)
Returns a remote stub for the given handle |
java.lang.Class |
getPrimaryKeyClass()
Returns the object key from a handle. |
protected java.lang.String |
getServerId()
Returns the bean's url prefix |
java.lang.String |
toString()
Returns a printable version of the client container |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static L10N L
protected static java.util.logging.Logger log
protected HandleEncoder _handleEncoder
| Constructor Detail |
|---|
protected ClientContainer(java.lang.String serverId)
serverId - the server's unique ID| Method Detail |
|---|
protected java.lang.String getServerId()
public EJBHome getHomeStub()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object getEJBLocalHome()
protected abstract EJBHome createHomeStub()
throws java.lang.Exception
java.lang.Exceptionpublic HandleEncoder getHandleEncoder(AbstractHandle handle)
public java.lang.Class getPrimaryKeyClass()
public EJBObject getObjectStub(java.lang.String url)
throws java.lang.Exception
handle - the handle for the remote bean
java.lang.Exception
protected abstract EJBObject createObjectStub(java.lang.String url)
throws java.lang.Exception
handle - the handle for the remote object
java.lang.Exceptionpublic 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 | |||||||||