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       /**
9        * This strategy ensures the context class loader remains the bundle's class loader.
10       */
11      USE_PLUGIN,
12  
13      /**
14       * This strategy ensures the context class loader will be set to the host application's class loader.
15       */
16      USE_HOST
17  }