com.atlassian.bamboo.persister.xstream
Interface XStreamFactory

All Known Implementing Classes:
CustomizableXStreamFactory

public interface XStreamFactory

Creates custom instances of XStream.

Since:
v3.3

Method Summary
 com.thoughtworks.xstream.XStream createXStream()
          Create default instance of XStream.
 com.thoughtworks.xstream.XStream createXStream(java.lang.ClassLoader classLoader)
          Create XStream backed by given classLoader.
 

Method Detail

createXStream

com.thoughtworks.xstream.XStream createXStream()
Create default instance of XStream.

Returns:
new XStream instance

createXStream

com.thoughtworks.xstream.XStream createXStream(java.lang.ClassLoader classLoader)
Create XStream backed by given classLoader.

Parameters:
classLoader - class loader to use by the created XStream
Returns:
new XStream instance


Copyright © 2011 Atlassian. All Rights Reserved.