Interface ConfluenceXStreamManager

    • 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.