public interface ConfluenceXStreamManager
Modifier and Type | Method and Description |
---|---|
ConfluenceXStream |
getConfluenceXStream()
Provides confluence's wrapped XStream instance.
|
ConfluenceXStream |
getPluginXStream(ClassLoader classLoader)
Allows to use plugin OSGi classloaders and avoid ClassCastException in case of plugin re-installations.
|
void |
resetXStream()
Allows resetting of XStream to clear its introspection cache and reconfigures security.
|
ConfluenceXStream getPluginXStream(ClassLoader classLoader)
classLoader
- classLoader to use for serialization/deserialization in XStreamConfluenceXStream getConfluenceXStream()
void resetXStream()
Copyright © 2003–2021 Atlassian. All rights reserved.