org.infinispan.marshall
Class GlobalMarshaller

java.lang.Object
  extended by org.infinispan.marshall.AbstractDelegatingMarshaller
      extended by org.infinispan.marshall.GlobalMarshaller
All Implemented Interfaces:
Marshaller, StreamingMarshaller

public class GlobalMarshaller
extends AbstractDelegatingMarshaller

A globally-scoped marshaller. This is needed so that the transport layer can unmarshall requests even before it's known which cache's marshaller can do the job.

Since:
5.0
Author:
Galder ZamarreƱo

Field Summary
 
Fields inherited from class org.infinispan.marshall.AbstractDelegatingMarshaller
marshaller
 
Constructor Summary
GlobalMarshaller(VersionAwareMarshaller marshaller)
           
 
Method Summary
 void inject(ClassLoader loader, ExternalizerTable extTable, GlobalConfiguration globalCfg)
           
 void stop()
          Stop the marshaller.
 
Methods inherited from class org.infinispan.marshall.AbstractDelegatingMarshaller
finishObjectInput, finishObjectOutput, getBufferSizePredictor, isMarshallable, objectFromByteBuffer, objectFromByteBuffer, objectFromInputStream, objectFromObjectStream, objectToBuffer, objectToByteBuffer, objectToByteBuffer, objectToObjectStream, startObjectInput, startObjectOutput, startObjectOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalMarshaller

public GlobalMarshaller(VersionAwareMarshaller marshaller)
Method Detail

inject

public void inject(ClassLoader loader,
                   ExternalizerTable extTable,
                   GlobalConfiguration globalCfg)

stop

public void stop()
Description copied from interface: StreamingMarshaller
Stop the marshaller. Implementations of this method should clear up any cached data, or close any resources while marshalling/unmarshalling that have not been already closed.

Specified by:
stop in interface StreamingMarshaller
Overrides:
stop in class AbstractDelegatingMarshaller

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.