com.atlassian.bamboo.persister.xstream
Class SingletonConverterFactory

java.lang.Object
  extended by com.atlassian.bamboo.persister.xstream.SingletonConverterFactory
All Implemented Interfaces:
ConverterFactory

public class SingletonConverterFactory
extends java.lang.Object
implements ConverterFactory

Singleton ConverterFactory.

Since:
v3.3

Constructor Summary
SingletonConverterFactory(com.thoughtworks.xstream.converters.Converter converter)
           
 
Method Summary
 com.thoughtworks.xstream.converters.Converter createConverter(com.thoughtworks.xstream.XStream xStream)
          Create converter for given xStream instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingletonConverterFactory

public SingletonConverterFactory(@NotNull
                                 com.thoughtworks.xstream.converters.Converter converter)
Method Detail

createConverter

@NotNull
public com.thoughtworks.xstream.converters.Converter createConverter(@NotNull
                                                                             com.thoughtworks.xstream.XStream xStream)
Description copied from interface: ConverterFactory
Create converter for given xStream instance.

Specified by:
createConverter in interface ConverterFactory
Parameters:
xStream - XStream instance
Returns:
new converter


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.