Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.server.security.extender
Class SecuredBundleXmlWebApplicationContext

java.lang.Object
  extended by org.springframework.core.io.DefaultResourceLoader
      extended by org.springframework.context.support.AbstractApplicationContext
          extended by org.springframework.context.support.AbstractRefreshableApplicationContext
              extended by org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext
                  extended by org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext
                      extended by org.eclipse.gemini.blueprint.context.support.OsgiBundleXmlApplicationContext
                          extended by org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext
                              extended by eu.esdihumboldt.hale.server.security.extender.SecuredBundleXmlWebApplicationContext
All Implemented Interfaces:
SecuredApplicationContext, org.eclipse.gemini.blueprint.context.ConfigurableOsgiBundleApplicationContext, org.eclipse.gemini.blueprint.context.DelegatedExecutionOsgiBundleApplicationContext, org.springframework.beans.factory.BeanFactory, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.HierarchicalBeanFactory, org.springframework.beans.factory.ListableBeanFactory, org.springframework.context.ApplicationContext, org.springframework.context.ApplicationEventPublisher, org.springframework.context.ConfigurableApplicationContext, org.springframework.context.Lifecycle, org.springframework.context.MessageSource, org.springframework.core.env.EnvironmentCapable, org.springframework.core.io.ResourceLoader, org.springframework.core.io.support.ResourcePatternResolver, org.springframework.ui.context.ThemeSource, org.springframework.web.context.ConfigurableWebApplicationContext, org.springframework.web.context.WebApplicationContext

public class SecuredBundleXmlWebApplicationContext
extends org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext
implements SecuredApplicationContext

A web application context which can load context configuration resources from security bundles. These security bundles are found through an extender pattern. They are registered by this bundle's activator.

Author:
Michel Kraemer

Field Summary
 
Fields inherited from class org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext
BUNDLE_CONTEXT_ATTRIBUTE
 
Fields inherited from class org.eclipse.gemini.blueprint.context.support.OsgiBundleXmlApplicationContext
DEFAULT_CONFIG_LOCATION
 
Fields inherited from class org.springframework.context.support.AbstractApplicationContext
APPLICATION_EVENT_MULTICASTER_BEAN_NAME, LIFECYCLE_PROCESSOR_BEAN_NAME, logger, MESSAGE_SOURCE_BEAN_NAME
 
Fields inherited from interface org.springframework.beans.factory.BeanFactory
FACTORY_BEAN_PREFIX
 
Fields inherited from interface org.springframework.core.io.support.ResourcePatternResolver
CLASSPATH_ALL_URL_PREFIX
 
Fields inherited from interface org.springframework.core.io.ResourceLoader
CLASSPATH_URL_PREFIX
 
Fields inherited from interface org.springframework.web.context.ConfigurableWebApplicationContext
APPLICATION_CONTEXT_ID_PREFIX, SERVLET_CONFIG_BEAN_NAME
 
Fields inherited from interface org.springframework.web.context.WebApplicationContext
CONTEXT_ATTRIBUTES_BEAN_NAME, CONTEXT_PARAMETERS_BEAN_NAME, ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, SCOPE_APPLICATION, SCOPE_GLOBAL_SESSION, SCOPE_REQUEST, SCOPE_SESSION, SERVLET_CONTEXT_BEAN_NAME
 
Fields inherited from interface org.springframework.context.ConfigurableApplicationContext
CONFIG_LOCATION_DELIMITERS, CONVERSION_SERVICE_BEAN_NAME, ENVIRONMENT_BEAN_NAME, LOAD_TIME_WEAVER_BEAN_NAME, SYSTEM_ENVIRONMENT_BEAN_NAME, SYSTEM_PROPERTIES_BEAN_NAME
 
Fields inherited from interface org.eclipse.gemini.blueprint.context.ConfigurableOsgiBundleApplicationContext
APPLICATION_CONTEXT_SERVICE_PROPERTY_NAME, BUNDLE_BEAN_NAME, BUNDLE_CONTEXT_BEAN_NAME, SPRING_DM_APPLICATION_CONTEXT_SERVICE_PROPERTY_NAME
 
Constructor Summary
SecuredBundleXmlWebApplicationContext()
           
 
Method Summary
 ClassLoader getClassLoader()
           
 boolean isSecurityEnabled()
           
protected  void loadBeanDefinitions(org.springframework.beans.factory.xml.XmlBeanDefinitionReader reader)
           
 void setClassLoader(ClassLoader classLoader)
           
 
Methods inherited from class org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext
customizeApplicationContextServiceProperties, getDefaultConfigLocations, getNamespace, getServletConfig, getServletContext, getTheme, onRefresh, postProcessBeanFactory, setConfigLocation, setNamespace, setServletConfig, setServletContext
 
Methods inherited from class org.eclipse.gemini.blueprint.context.support.OsgiBundleXmlApplicationContext
getConfigLocations, initBeanDefinitionReader, loadBeanDefinitions
 
Methods inherited from class org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext
completeRefresh, doClose, getDelegatedEventMulticaster, invokeBeanFactoryPostProcessors, normalClose, normalRefresh, refresh, registerBeanPostProcessors, registerBeanPostProcessors, setContextClassLoaderProvider, setDelegatedEventMulticaster, setDelegatedEventMulticaster, setExecutor, startRefresh
 
Methods inherited from class org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext
createResourcePatternResolver, destroyBeans, finishRefresh, getBundle, getBundleContext, getResource, getResourceByPath, getResourcePatternResolver, getResources, prepareRefresh, setBundleContext, setConfigLocations, setPublishContextAsService
 
Methods inherited from class org.springframework.context.support.AbstractRefreshableApplicationContext
cancelRefresh, closeBeanFactory, createBeanFactory, customizeBeanFactory, getBeanFactory, hasBeanFactory, refreshBeanFactory, setAllowBeanDefinitionOverriding, setAllowCircularReferences
 
Methods inherited from class org.springframework.context.support.AbstractApplicationContext
addApplicationListener, addBeanFactoryPostProcessor, addListener, close, containsBean, containsBeanDefinition, containsLocalBean, createEnvironment, destroy, findAnnotationOnBean, finishBeanFactoryInitialization, getAliases, getApplicationListeners, getAutowireCapableBeanFactory, getBean, getBean, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation, getDisplayName, getEnvironment, getId, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getStartupDate, getType, initApplicationEventMulticaster, initLifecycleProcessor, initMessageSource, initPropertySources, isActive, isPrototype, isRunning, isSingleton, isTypeMatch, obtainFreshBeanFactory, onClose, prepareBeanFactory, publishEvent, registerListeners, registerShutdownHook, setDisplayName, setEnvironment, setId, setParent, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.context.ApplicationContext
getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDate
 
Methods inherited from interface org.springframework.core.env.EnvironmentCapable
getEnvironment
 
Methods inherited from interface org.springframework.beans.factory.ListableBeanFactory
containsBeanDefinition, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation
 
Methods inherited from interface org.springframework.beans.factory.HierarchicalBeanFactory
containsLocalBean, getParentBeanFactory
 
Methods inherited from interface org.springframework.beans.factory.BeanFactory
containsBean, getAliases, getBean, getBean, getBean, getBean, getType, isPrototype, isSingleton, isTypeMatch
 
Methods inherited from interface org.springframework.context.MessageSource
getMessage, getMessage, getMessage
 
Methods inherited from interface org.springframework.context.ApplicationEventPublisher
publishEvent
 
Methods inherited from interface org.springframework.core.io.support.ResourcePatternResolver
getResources
 
Methods inherited from interface org.springframework.core.io.ResourceLoader
getResource
 
Methods inherited from interface org.springframework.web.context.ConfigurableWebApplicationContext
getConfigLocations, setConfigLocations
 
Methods inherited from interface org.springframework.context.ConfigurableApplicationContext
addApplicationListener, addBeanFactoryPostProcessor, close, getBeanFactory, getEnvironment, isActive, refresh, registerShutdownHook, setEnvironment, setId, setParent
 
Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stop
 
Methods inherited from interface org.eclipse.gemini.blueprint.context.ConfigurableOsgiBundleApplicationContext
getBundle, getBundleContext, setBundleContext, setConfigLocations, setPublishContextAsService
 

Constructor Detail

SecuredBundleXmlWebApplicationContext

public SecuredBundleXmlWebApplicationContext()
Method Detail

loadBeanDefinitions

protected void loadBeanDefinitions(org.springframework.beans.factory.xml.XmlBeanDefinitionReader reader)
                            throws org.springframework.beans.BeansException,
                                   IOException
Overrides:
loadBeanDefinitions in class org.eclipse.gemini.blueprint.context.support.OsgiBundleXmlApplicationContext
Throws:
org.springframework.beans.BeansException
IOException
See Also:
OsgiBundleXmlApplicationContext.loadBeanDefinitions(XmlBeanDefinitionReader)

getClassLoader

public ClassLoader getClassLoader()
Specified by:
getClassLoader in interface org.springframework.core.io.ResourceLoader
Overrides:
getClassLoader in class org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext
See Also:
AbstractOsgiBundleApplicationContext.getClassLoader()

setClassLoader

public void setClassLoader(ClassLoader classLoader)
Overrides:
setClassLoader in class org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplicationContext
See Also:
AbstractOsgiBundleApplicationContext.setClassLoader(ClassLoader)

isSecurityEnabled

public boolean isSecurityEnabled()
Specified by:
isSecurityEnabled in interface SecuredApplicationContext
Returns:
true if security management is enabled, false if everyone is allowed to do everything

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d