|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A JRMIStubFactory is responsible for creating instances of Jeremie stubs.
A Jeremie stub is an instance of a Java RMI stub
.
Field Summary |
Fields inherited from interface org.objectweb.david.apis.stub_factories.DefaultStubTable |
default_stub_table |
Method Summary | |
java.util.Hashtable |
getStubTable()
Retrieves the stub table associated with this stub factory. |
RequestSession |
newRequestSession(java.lang.Object target)
Creates a request session which can be used by a stub to send data to the given remote object. |
java.rmi.server.RemoteStub |
newStub(java.lang.Object impl,
Identifier id)
Creates a Jeremie stub to represent the given (remote) object and holding a reference containing the given identifier. |
Methods inherited from interface org.objectweb.jonathan.apis.stub_factories.StubFactory |
newStub |
Method Detail |
public java.util.Hashtable getStubTable()
public java.rmi.server.RemoteStub newStub(java.lang.Object impl, Identifier id) throws org.objectweb.jonathan.apis.kernel.JonathanException
impl
- the (remote) object;id
- an identifier (for the remote object) that will be included
in the reference held by the stub.
org.objectweb.jonathan.apis.kernel.JonathanException
- if something goes wrong.public RequestSession newRequestSession(java.lang.Object target) throws org.objectweb.jonathan.apis.kernel.JonathanException
target
- the remote object.
org.objectweb.jonathan.apis.kernel.JonathanException
- if something goes wrong.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |