com.atlassian.bamboo.serialization.xstream
Interface NeedsXstream

All Known Implementing Classes:
AbstractHibernateCollectionConverter, AbstractXStreamConverterAdapter, BuildContextXStreamConverter, ConcurrentHashMapConverter, HibernateCollectionConverter, HibernateMapConverter, HibernateSortedMapConverter, HibernateSortedSetConverter

public interface NeedsXstream

A component that needs to be initialized with an XStream instance. Implement this if you want to define an XStream customization (e.g. a custom converter) as a Spring bean that by itself relies on XStream instance to work.

The managing component is then responsible with initializing the implementing component with the underlying XStream instance.


Method Summary
 void init(com.thoughtworks.xstream.XStream xStream)
          Initialize this component with XStream instance.
 

Method Detail

init

void init(com.thoughtworks.xstream.XStream xStream)
Initialize this component with XStream instance.

Parameters:
xStream - instance of XStream for given context


Copyright © 2011 Atlassian. All Rights Reserved.