org.jboss.remoting.marshal
Interface MarshallerDecorator
public interface MarshallerDecorator
On RMI invocations we can't use customer Marshallers, but we need to decorate Invocations (or any other objects)
with some data before sending the object.
We could use a ByteArrayOutputStream and ByteArrayInputStream but that would be an expensive operation,
so we decided to keep the needed decoration on an interface. Marshaller implementations could refactor their logic to
the methods defined on this interface so we can have a cheaper marshalling with RMI.
$Id: MarshallerDecorator.java 566 2005-12-30 05:26:51Z telrod $
- Author:
- Clebert Suconic
Method Summary |
java.lang.Object |
addDecoration(java.lang.Object obj)
|
addDecoration
java.lang.Object addDecoration(java.lang.Object obj)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 1998-2005 JBoss Inc . All Rights Reserved.