View Javadoc
1   package com.atlassian.plugin.osgi.hostcomponents;
2   
3   /**
4    * The strategy for handling the context class loader for host component method invocations
5    */
6   public enum ContextClassLoaderStrategy {
7       /**
8        * This strategy ensures the context class loader remains the bundle's class loader.
9        */
10      USE_PLUGIN,
11  
12      /**
13       * This strategy ensures the context class loader will be set to the host application's class loader.
14       */
15      USE_HOST
16  }