Class StorageServiceDataConnectorParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
net.shibboleth.ext.spring.util.AbstractCustomBeanDefinitionParser
net.shibboleth.idp.attribute.resolver.spring.BaseResolverPluginParser
net.shibboleth.idp.attribute.resolver.spring.dc.AbstractDataConnectorParser
net.shibboleth.idp.attribute.resolver.spring.dc.storage.impl.StorageServiceDataConnectorParser
- All Implemented Interfaces:
BeanDefinitionParser
Bean definition Parser for a
StorageServiceDataConnector
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Utility class for parsing v2 schema configuration. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.Logger
Class logger.static final QName
Schema type name.Fields inherited from class net.shibboleth.idp.attribute.resolver.spring.dc.AbstractDataConnectorParser
ATTR_EXPORT_ALL, ATTR_EXPORT_NAMES, ATTR_FACTORY_POSTPROCESSORS_REF, ATTR_FAIL_FAST, ATTR_NORETRYDELAY, ATTR_POSTPROCESSORS_REF, ATTR_SPRING_RESOURCE, ATTR_SPRING_RESOURCE_REF, ELEMENT_NAME, FAILOVER_DATA_CONNECTOR_ELEMENT_NAME
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doV2Parse
(Element config, ParserContext parserContext, BeanDefinitionBuilder builder) Parse the suppliedElement
as a legacy format and populate the suppliedBeanDefinitionBuilder
as required.protected Class<StorageServiceDataConnector>
Per parser indication of what we are building.Methods inherited from class net.shibboleth.idp.attribute.resolver.spring.dc.AbstractDataConnectorParser
doParse, getBeanClass, getLogPrefix, isNative
Methods inherited from class net.shibboleth.idp.attribute.resolver.spring.BaseResolverPluginParser
failOnDependencies, getActivationCondition, getDefinitionId, warnOnDependencies
Methods inherited from class net.shibboleth.ext.spring.util.AbstractCustomBeanDefinitionParser
registerBeanDefinition
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Field Details
-
TYPE_NAME
Schema type name. -
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
StorageServiceDataConnectorParser
public StorageServiceDataConnectorParser()
-
-
Method Details
-
getNativeBeanClass
Per parser indication of what we are building.- Specified by:
getNativeBeanClass
in classAbstractDataConnectorParser
- Returns:
- the class
-
doV2Parse
protected void doV2Parse(@Nonnull Element config, @Nonnull ParserContext parserContext, @Nonnull BeanDefinitionBuilder builder) Parse the suppliedElement
as a legacy format and populate the suppliedBeanDefinitionBuilder
as required.- Specified by:
doV2Parse
in classAbstractDataConnectorParser
- Parameters:
config
- the XML element being parsedparserContext
- the object encapsulating the current state of the parsing processbuilder
- used to define theBeanDefinition
- See Also:
-