| |
|
| java.lang.Object com.caucho.ejb.hessian.HessianClientContainer
HessianClientContainer | class HessianClientContainer implements HessianRemoteResolver(Code) | | Container for Hessian clients in the same JVM, but not the same
class loader.
|
L | protected static L10N L(Code) | | |
_ejbHome | EJBHome _ejbHome(Code) | | |
HessianClientContainer | HessianClientContainer(String serverId) throws ConfigException(Code) | | Creates a client container for same-JVM connections.
Parameters: _serverId - the server id |
close | public void close()(Code) | | |
create | public Object create(Class api, String url) throws Exception(Code) | | Creates a new proxy with the specified URL. The returned object
is a proxy with the interface specified by api.
String url = "http://localhost:8080/ejb/hello");
HelloHome hello = (HelloHome) factory.create(HelloHome.class, url);
Parameters: api - the interface the proxy class needs to implement Parameters: url - the URL where the client object is located. a proxy to the object with the specified interface. |
createObjectStub | protected Object createObjectStub(String url) throws ConfigException(Code) | | Finds the stub for the remote object for the given Handle.
Parameters: handle - the handle for the remote object the bean's remote stub |
getBasicAuthentication | String getBasicAuthentication()(Code) | | Returns the basic auth.
|
getHomeClass | Class getHomeClass() throws ConfigException(Code) | | Returns the bean's home interface class. If unknown, call the server
for the class name.
|
getHomeClassName | String getHomeClassName() throws ConfigException(Code) | | Returns the classname of the home interface.
|
getHomeStub | protected EJBHome getHomeStub() throws ConfigException(Code) | | Finds the stub corresponding to the given URL.
the bean's home stub |
getPrimaryKeyClass | Class getPrimaryKeyClass() throws ConfigException(Code) | | Returns the bean's primary key class. If unknown, call the server
for the class name.
|
getPrimaryKeyClassName | String getPrimaryKeyClassName() throws ConfigException(Code) | | Returns the classname of the home interface.
|
getRemoteClass | Class getRemoteClass() throws ConfigException(Code) | | Returns the bean's remote interface class. If unknown, call the server
for the class name.
|
getRemoteClassName | String getRemoteClassName() throws ConfigException(Code) | | Returns the classname of the remote interface.
|
setBasicAuthentication | void setBasicAuthentication(String auth)(Code) | | Sets the basic auth.
|
toString | public String toString()(Code) | | Returns a printable version of the client container
|
|
|
|