public final enum

ContextClassLoaderStrategy

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.plugin.osgi.hostcomponents.ContextClassLoaderStrategy

Class Overview

The strategy for handling the context class loader for host component method invocations

Summary

Enum Values
ContextClassLoaderStrategy  USE_HOST  This strategy ensures the context class loader will be set to the host application's class loader. 
ContextClassLoaderStrategy  USE_PLUGIN  This strategy ensures the context class loader remains the bundle's class loader. 
Public Methods
static ContextClassLoaderStrategy valueOf(String name)
final static ContextClassLoaderStrategy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ContextClassLoaderStrategy USE_HOST

This strategy ensures the context class loader will be set to the host application's class loader.

public static final ContextClassLoaderStrategy USE_PLUGIN

This strategy ensures the context class loader remains the bundle's class loader.

Public Methods

public static ContextClassLoaderStrategy valueOf (String name)

public static final ContextClassLoaderStrategy[] values ()