Interface ConfluenceXStreamManager
-
- All Known Implementing Classes:
DefaultConfluenceXStreamManager
,XStreamManager
public interface ConfluenceXStreamManager
XStream Manager responsible for lifecycle management of Confluence XStream.- Since:
- 7.10.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getPluginXStream
ConfluenceXStream getPluginXStream(ClassLoader classLoader)
Allows to use plugin OSGi classloaders and avoid ClassCastException in case of plugin re-installations.- Parameters:
classLoader
- classLoader to use for serialization/deserialization in XStream- Returns:
- ConfluenceXStream based on classLoader
-
getConfluenceXStream
ConfluenceXStream getConfluenceXStream()
Provides confluence's wrapped XStream instance. It is responsible to ensure backward compatibility and be used in Bandana Manager/third-party plugins.- Returns:
-
resetXStream
void resetXStream()
Allows resetting of XStream to clear its introspection cache and reconfigures security.
-
-