|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.fractal.rmi.io.RmiMarshallerFactory
public class 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(java.lang.String clientItfName,
java.lang.Object serverItf)
|
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
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(java.lang.String clientItfName)
|
| 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 java.lang.String[] listFc()
listFc in interface org.objectweb.fractal.api.control.BindingControllerpublic java.lang.Object lookupFc(java.lang.String clientItfName)
lookupFc in interface org.objectweb.fractal.api.control.BindingController
public void bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
bindFc in interface org.objectweb.fractal.api.control.BindingControllerpublic void unbindFc(java.lang.String clientItfName)
unbindFc in interface org.objectweb.fractal.api.control.BindingControllerpublic Marshaller newMarshaller()
newMarshaller in interface MarshallerFactorypublic UnMarshaller newUnMarshaller(ChunkProvider message)
MarshallerFactory
newUnMarshaller in interface MarshallerFactorymessage - a chunk provider.
public UnMarshaller newUnMarshaller(Chunk chunk,
int read)
newUnMarshaller in interface MarshallerFactorychunk - 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 | |||||||||