public interface JRMIStubFactory extends org.objectweb.jonathan.stub_factories.api.StubFactory, DefaultStubTable
A Jeremie stub is an instance of a Java RMI stub
.
default_stub_table
Modifier and Type | Method and Description |
---|---|
Hashtable |
getStubTable()
Retrieves the stub table associated with this stub factory.
|
org.objectweb.jonathan.protocols.api.RequestSession |
newRequestSession(Object target)
Creates a request session which can be used by a stub to send data
to the given remote object.
|
RemoteStub |
newStub(Object impl,
org.objectweb.jonathan.binding.api.Identifier id)
Creates a Jeremie stub to represent the given (remote) object
and holding a reference containing the given identifier.
|
Hashtable getStubTable()
RemoteStub newStub(Object impl, org.objectweb.jonathan.binding.api.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.org.objectweb.jonathan.protocols.api.RequestSession newRequestSession(Object target) throws org.objectweb.jonathan.apis.kernel.JonathanException
target
- the remote object.org.objectweb.jonathan.apis.kernel.JonathanException
- if something goes wrong.