|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
edu.internet2.middleware.shibboleth.common.config.attribute.resolver.AbstractResolutionPlugInBeanDefinitionParser
public abstract class AbstractResolutionPlugInBeanDefinitionParser
Base class for Spring bean definition parser for Shibboleth resolver plug-ins.
Field Summary | |
---|---|
static QName |
DEPENDENCY_ELEMENT_NAME
Name of resolution plug-in dependency. |
private org.slf4j.Logger |
log
Class logger. |
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
---|
ID_ATTRIBUTE |
Constructor Summary | |
---|---|
AbstractResolutionPlugInBeanDefinitionParser()
|
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 |
Field Detail |
---|
public static final QName DEPENDENCY_ELEMENT_NAME
private final org.slf4j.Logger log
Constructor Detail |
---|
public AbstractResolutionPlugInBeanDefinitionParser()
Method Detail |
---|
protected final void doParse(Element config, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
doParse
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
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)
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 contextprotected String resolveId(Element element, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext parserContext)
resolveId
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
protected List<String> parseDependencies(List<Element> elements)
elements
- DOM elements of type resolver:PluginDependencyType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |