com.atlassian.plugin.osgi.spring
Class NonValidatingOsgiApplicationContextCreator

java.lang.Object
  extended by com.atlassian.plugin.osgi.spring.NonValidatingOsgiApplicationContextCreator
All Implemented Interfaces:
org.eclipse.gemini.blueprint.extender.OsgiApplicationContextCreator

public class NonValidatingOsgiApplicationContextCreator
extends java.lang.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
NonValidatingOsgiApplicationContextCreator(java.util.List<ApplicationContextPreProcessor> applicationContextPreProcessors)
           
 
Method Summary
 org.eclipse.gemini.blueprint.context.DelegatedExecutionOsgiBundleApplicationContext createApplicationContext(org.osgi.framework.BundleContext bundleContext)
          Creates an application context that disables validation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonValidatingOsgiApplicationContextCreator

public NonValidatingOsgiApplicationContextCreator(java.util.List<ApplicationContextPreProcessor> applicationContextPreProcessors)
Method Detail

createApplicationContext

public org.eclipse.gemini.blueprint.context.DelegatedExecutionOsgiBundleApplicationContext createApplicationContext(org.osgi.framework.BundleContext bundleContext)
                                                                                                             throws java.lang.Exception
Creates an application context that disables validation. Most of this code is copy/pasted from DefaultOsgiApplicationContextCreator

Specified by:
createApplicationContext in interface org.eclipse.gemini.blueprint.extender.OsgiApplicationContextCreator
Parameters:
bundleContext - The bundle context for the application context
Returns:
The new application context
Throws:
java.lang.Exception - If anything goes wrong


Copyright © 2013 Atlassian. All Rights Reserved.