public interface StubFactory
Modifier and Type | Method and Description |
---|---|
Object |
newStub(SessionIdentifier session_id,
Identifier[] ids,
org.objectweb.jonathan.apis.kernel.Context hints)
Creates a new stub.
|
Object newStub(SessionIdentifier session_id, Identifier[] ids, org.objectweb.jonathan.apis.kernel.Context hints) throws org.objectweb.jonathan.apis.kernel.JonathanException
A stub plays two roles:
session_id
- a session identifier, to be used to send marshalled
data to the object represented by the stub;ids
- the set of identifiers of the stub;hints
- other data possibly used to create the stub.org.objectweb.jonathan.apis.kernel.JonathanException
- if something goes wrong.