public class

NonValidatingOsgiApplicationContextCreator

extends Object
implements OsgiApplicationContextCreator
java.lang.Object
   ↳ com.atlassian.plugin.osgi.spring.NonValidatingOsgiApplicationContextCreator

Class Overview

Application context creator that will use a special application context that disables XML Schema validation

Summary

Public Constructors
NonValidatingOsgiApplicationContextCreator(List<ApplicationContextPreProcessor> applicationContextPreProcessors)
Public Methods
DelegatedExecutionOsgiBundleApplicationContext createApplicationContext(BundleContext bundleContext)
Creates an application context that disables validation.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.osgi.extender.OsgiApplicationContextCreator

Public Constructors

public NonValidatingOsgiApplicationContextCreator (List<ApplicationContextPreProcessor> applicationContextPreProcessors)

Public Methods

public DelegatedExecutionOsgiBundleApplicationContext createApplicationContext (BundleContext bundleContext)

Creates an application context that disables validation. Most of this code is copy/pasted from DefaultOsgiApplicationContextCreator

Parameters
bundleContext The bundle context for the application context
Returns
  • The new application context
Throws
Exception If anything goes wrong