@Deprecated public class XStreamManager extends Object implements ConfluenceXStreamManager
Constructor and Description |
---|
XStreamManager(Map aliases)
Deprecated.
|
XStreamManager(Map<String,String> aliases,
ClassLoader classLoader)
Deprecated.
since 7.10.0. Use XStreamManager(Map
|
XStreamManager(Map<String,String> aliases,
ClassLoader classLoader,
XStreamSecurityConfigurator securityConfigurator)
Deprecated.
|
XStreamManager(Map<String,String> aliases,
Map<com.thoughtworks.xstream.converters.Converter,Integer> converters,
ClassLoader classLoader)
Deprecated.
since 7.10.0. Use XStreamManager(Map
|
Modifier and Type | Method and Description |
---|---|
ConfluenceXStream |
getConfluenceXStream()
Deprecated.
Provides confluence's wrapped XStream instance.
|
ConfluenceXStream |
getPluginXStream(ClassLoader classLoader)
Deprecated.
Allows to use plugin OSGi classloaders and avoid ClassCastException in case of plugin re-installations.
|
com.thoughtworks.xstream.XStream |
getXstream()
Deprecated.
|
void |
resetXStream()
Deprecated.
Allows resetting of XStream to clear its introspection cache and reconfigures security.
|
public XStreamManager(Map aliases)
public XStreamManager(Map<String,String> aliases, ClassLoader classLoader, XStreamSecurityConfigurator securityConfigurator)
@Deprecated public XStreamManager(Map<String,String> aliases, ClassLoader classLoader)
aliases
- classLoader
- @Deprecated public XStreamManager(Map<String,String> aliases, Map<com.thoughtworks.xstream.converters.Converter,Integer> converters, ClassLoader classLoader)
aliases
- classLoader
- public com.thoughtworks.xstream.XStream getXstream()
public ConfluenceXStream getPluginXStream(ClassLoader classLoader)
ConfluenceXStreamManager
getPluginXStream
in interface ConfluenceXStreamManager
classLoader
- classLoader to use for serialization/deserialization in XStreampublic ConfluenceXStream getConfluenceXStream()
ConfluenceXStreamManager
getConfluenceXStream
in interface ConfluenceXStreamManager
public void resetXStream()
ConfluenceXStreamManager
resetXStream
in interface ConfluenceXStreamManager
Copyright © 2003–2021 Atlassian. All rights reserved.