edu.internet2.middleware.shibboleth.common.config.attribute.resolver
Class AbstractResolutionPlugInBeanDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
edu.internet2.middleware.shibboleth.common.config.attribute.resolver.AbstractResolutionPlugInBeanDefinitionParser
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
- Direct Known Subclasses:
- BaseAttributeDefinitionBeanDefinitionParser, BaseDataConnectorBeanDefinitionParser, BasePrincipalConnectrBeanDefinitionParser
public abstract class AbstractResolutionPlugInBeanDefinitionParser
- extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
Base class for Spring bean definition parser for Shibboleth resolver plug-ins.
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE |
Method Summary |
protected void |
doParse(Element config,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Parses the plugins ID and attribute definition and data connector dependencies. |
protected abstract void |
doParse(String pluginId,
Element pluginConfig,
Map<QName,List<Element>> pluginConfigChildren,
org.springframework.beans.factory.support.BeanDefinitionBuilder pluginBuilder,
org.springframework.beans.factory.xml.ParserContext parserContext)
Parses the plugin configuration. |
protected List<String> |
parseDependencies(List<Element> elements)
Parse dependency elements. |
protected String |
resolveId(Element element,
org.springframework.beans.factory.support.AbstractBeanDefinition definition,
org.springframework.beans.factory.xml.ParserContext parserContext)
|
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser |
doParse, getBeanClass, getBeanClassName, getParentName, parseInternal |
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEPENDENCY_ELEMENT_NAME
public static final QName DEPENDENCY_ELEMENT_NAME
- Name of resolution plug-in dependency.
AbstractResolutionPlugInBeanDefinitionParser
public AbstractResolutionPlugInBeanDefinitionParser()
doParse
protected final void doParse(Element config,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
- Parses the plugins ID and attribute definition and data connector dependencies.
- Overrides:
doParse
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse
protected abstract void doParse(String pluginId,
Element pluginConfig,
Map<QName,List<Element>> pluginConfigChildren,
org.springframework.beans.factory.support.BeanDefinitionBuilder pluginBuilder,
org.springframework.beans.factory.xml.ParserContext parserContext)
- Parses the plugin configuration.
- Parameters:
pluginId
- unique ID of the pluginpluginConfig
- root plugin configuration elementpluginConfigChildren
- immediate children of the root configuration element (provided to save from having to
reparse them)pluginBuilder
- bean definition builder for the pluginparserContext
- current parsing context
resolveId
protected String resolveId(Element element,
org.springframework.beans.factory.support.AbstractBeanDefinition definition,
org.springframework.beans.factory.xml.ParserContext parserContext)
-
- Overrides:
resolveId
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parseDependencies
protected List<String> parseDependencies(List<Element> elements)
- Parse dependency elements.
- Parameters:
elements
- DOM elements of type resolver:PluginDependencyType
- Returns:
- the dependency IDs
Copyright © 2006-2011 Internet2. All Rights Reserved.