r01f.marshalling.simple
Class SimpleMarshaller.SimpleMarshallerSingleUseImpl

java.lang.Object
  extended by r01f.marshalling.simple.SimpleMarshallerBase
      extended by r01f.marshalling.simple.SimpleMarshaller.SimpleMarshallerSingleUseImpl
All Implemented Interfaces:
Marshaller
Enclosing class:
SimpleMarshaller

public static class SimpleMarshaller.SimpleMarshallerSingleUseImpl
extends SimpleMarshallerBase

Extiende a SimpleMarshallerBase haciendo que la instancia de MarshallerMappings que contiene la definición de mapeos sea una referencia una NUEVA INSTANCIA inyectadaor GUICE, es decir, se NO SE REUTILIZA el mapeo, o lo que es lo mismo, NO se CACHEA


Field Summary
 
Fields inherited from class r01f.marshalling.simple.SimpleMarshallerBase
_mappings
 
Constructor Summary
SimpleMarshaller.SimpleMarshallerSingleUseImpl(MarshallerMappings mappings)
          Ver @MarshallerGuiceModule Guice inyecta una nueva instancia de SimpleMarshallerMappings
 
Method Summary
 
Methods inherited from class r01f.marshalling.simple.SimpleMarshallerBase
addBeans, addBeans, addBeans, beanFromXml, beanFromXml, beanFromXml, usingEncoder, xmlFromBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMarshaller.SimpleMarshallerSingleUseImpl

@Inject
public SimpleMarshaller.SimpleMarshallerSingleUseImpl(MarshallerMappings mappings)
Ver @MarshallerGuiceModule Guice inyecta una nueva instancia de SimpleMarshallerMappings

Parameters:
mappings - los mappings inyectados por guice