com.atlassian.plugin.osgi.spring
Class NonValidatingOsgiApplicationContextCreator
java.lang.Object
com.atlassian.plugin.osgi.spring.NonValidatingOsgiApplicationContextCreator
- All Implemented Interfaces:
- org.springframework.osgi.extender.OsgiApplicationContextCreator
public class NonValidatingOsgiApplicationContextCreator
- extends Object
- implements org.springframework.osgi.extender.OsgiApplicationContextCreator
Application context creator that will use a special application context that disables XML Schema validation
- Since:
- 2.5.0
|
Method Summary |
org.springframework.osgi.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 |
NonValidatingOsgiApplicationContextCreator
public NonValidatingOsgiApplicationContextCreator(List<ApplicationContextPreProcessor> applicationContextPreProcessors)
createApplicationContext
public org.springframework.osgi.context.DelegatedExecutionOsgiBundleApplicationContext createApplicationContext(org.osgi.framework.BundleContext bundleContext)
throws Exception
- Creates an application context that disables validation. Most of this code is copy/pasted from
DefaultOsgiApplicationContextCreator
- Specified by:
createApplicationContext in interface org.springframework.osgi.extender.OsgiApplicationContextCreator
- Parameters:
bundleContext - The bundle context for the application context
- Returns:
- The new application context
- Throws:
Exception - If anything goes wrong
Copyright © 2015 Atlassian. All rights reserved.