|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.rmi.io.RmiMarshallerFactory
Provides a factory for creating marshallers and unmarshallers.
Field Summary | |
protected ChunkFactory |
chunkFactory
The chunk factory to be used by the (un)marshallers created by this factory. |
protected ContextFactory |
contextFactory
The context factory to be used by the (un)marshallers created by this factory. |
protected NamingContext |
domain
The domain to be used by the (un)marshallers created by this factory. |
Constructor Summary | |
RmiMarshallerFactory()
Constructs a new RmiMarshallerFactory . |
Method Summary | |
void |
bindFc(String clientItfName,
Object serverItf)
Binds the client interface whose name is given to a server interface. |
String[] |
listFc()
Returns the names of the client interfaces of the component to which this interface belongs. |
Object |
lookupFc(String clientItfName)
Returns the interface to which the given client interface is bound. |
Marshaller |
newMarshaller()
Returns a new marshaller. |
UnMarshaller |
newUnMarshaller(Chunk chunk,
int read)
Returns a new unmarshaller, using the provided chunk(s) as a data source. |
UnMarshaller |
newUnMarshaller(ChunkProvider message)
Returns a new unmarshaller, using the provided chunk provider as a data source. |
void |
unbindFc(String clientItfName)
Unbinds the given client interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected NamingContext domain
protected ChunkFactory chunkFactory
protected ContextFactory contextFactory
Constructor Detail |
public RmiMarshallerFactory()
RmiMarshallerFactory
.
Method Detail |
public String[] listFc()
BindingController
listFc
in interface BindingController
public Object lookupFc(String clientItfName)
BindingController
bindFc
).
lookupFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.
public void bindFc(String clientItfName, Object serverItf)
BindingController
bindFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.serverItf
- a server interface.public void unbindFc(String clientItfName)
BindingController
unbindFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.public Marshaller newMarshaller()
newMarshaller
in interface MarshallerFactory
public UnMarshaller newUnMarshaller(ChunkProvider message)
newUnMarshaller
in interface MarshallerFactory
message
- a chunk provider.
public UnMarshaller newUnMarshaller(Chunk chunk, int read)
newUnMarshaller
in interface MarshallerFactory
chunk
- a (chain of) chunk(s).read
- the number of bytes already read from the message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |