|
|||||||||||
| 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)
|
String[] |
listFc()
|
Object |
lookupFc(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(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 String[] listFc()
listFc in interface BindingControllerpublic Object lookupFc(String clientItfName)
lookupFc in interface BindingController
public void bindFc(String clientItfName,
Object serverItf)
bindFc in interface BindingControllerpublic void unbindFc(String clientItfName)
unbindFc in interface BindingControllerpublic Marshaller newMarshaller()
newMarshaller in interface MarshallerFactorypublic UnMarshaller newUnMarshaller(ChunkProvider message)
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 | ||||||||||