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
Modifier and TypeMethodDescriptionProvides confluence's wrapped XStream instance.getPluginXStream(ClassLoader classLoader) Allows to use plugin OSGi classloaders and avoid ClassCastException in case of plugin re-installations.voidAllows resetting of XStream to clear its introspection cache and reconfigures security. 
- 
Method Details
- 
getPluginXStream
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. 
 -