Package com.atlassian.plugin.osgi.spring
Class NonValidatingOsgiApplicationContextCreator
java.lang.Object
com.atlassian.plugin.osgi.spring.NonValidatingOsgiApplicationContextCreator
- All Implemented Interfaces:
org.eclipse.gemini.blueprint.extender.OsgiApplicationContextCreator
public class NonValidatingOsgiApplicationContextCreator
extends Object
implements org.eclipse.gemini.blueprint.extender.OsgiApplicationContextCreator
Application context creator that will use a special application context that disables XML Schema validation
- Since:
- 2.5.0
-
Constructor Summary
ConstructorsConstructorDescriptionNonValidatingOsgiApplicationContextCreator(List<ApplicationContextPreProcessor> applicationContextPreProcessors) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.gemini.blueprint.context.DelegatedExecutionOsgiBundleApplicationContextcreateApplicationContext(org.osgi.framework.BundleContext bundleContext) Creates an application context that disables validation.
-
Constructor Details
-
NonValidatingOsgiApplicationContextCreator
public NonValidatingOsgiApplicationContextCreator(List<ApplicationContextPreProcessor> applicationContextPreProcessors)
-
-
Method Details
-
createApplicationContext
public org.eclipse.gemini.blueprint.context.DelegatedExecutionOsgiBundleApplicationContext createApplicationContext(org.osgi.framework.BundleContext bundleContext) Creates an application context that disables validation. Most of this code is copy/pasted fromDefaultOsgiApplicationContextCreator- Specified by:
createApplicationContextin interfaceorg.eclipse.gemini.blueprint.extender.OsgiApplicationContextCreator- Parameters:
bundleContext- The bundle context for the application context- Returns:
- The new application context
-