|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.config.SpringConfigurationUtils
public final class SpringConfigurationUtils
Utilities to help configure Spring beans.
Method Summary | |
---|---|
static RuntimeBeanReference |
parseCustomElement(Element element,
ParserContext parserContext)
Parses a bean definition using an xsi:type aware version of BeanDefinitionParserDelegate.parseCustomElement(Element). |
static RuntimeBeanReference |
parseCustomElement(Element element,
String idAttribute,
ParserContext parserContext)
Parses a bean definition using an xsi:type aware version of BeanDefinitionParserDelegate.parseCustomElement(Element). |
static RuntimeBeanReference |
parseCustomElementReference(Element element,
String refAttribute,
ParserContext parserContext)
Parses a custom element that is a reference to a bean declared elsewhere. |
static ManagedList |
parseCustomElements(List<Element> elements,
ParserContext parserContext)
Parse list of elements into bean definitions. |
static ManagedList |
parseCustomElements(List<Element> elements,
String idAttribute,
ParserContext parserContext)
Parse list of elements into bean definitions. |
static BeanDefinition |
parseInnerCustomElement(Element element,
ParserContext parserContext)
Parses a bean definition using an xsi:type aware version of BeanDefinitionParserDelegate.parseCustomElement(Element) . |
static ManagedList |
parseInnerCustomElements(List<Element> elements,
ParserContext parserContext)
Parser a list of bean definitions using an xsi:type aware version of BeanDefinitionParserDelegate.parseCustomElement(Element) . |
static void |
populateRegistry(BeanDefinitionRegistry beanRegistry,
List<org.opensaml.util.resource.Resource> configurationResources)
Loads a set of spring configuration resources into a given application context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void populateRegistry(BeanDefinitionRegistry beanRegistry, List<org.opensaml.util.resource.Resource> configurationResources) throws org.opensaml.util.resource.ResourceException
beanRegistry
- registry of spring beans to be populated with information from the given configurationsconfigurationResources
- list of spring configuration resources
org.opensaml.util.resource.ResourceException
- thrown if there is a problem reading the spring configuration resources into the
registrypublic static BeanDefinition parseInnerCustomElement(Element element, ParserContext parserContext)
BeanDefinitionParserDelegate.parseCustomElement(Element)
.
element
- configuration elementparserContext
- current parser context
public static ManagedList parseInnerCustomElements(List<Element> elements, ParserContext parserContext)
BeanDefinitionParserDelegate.parseCustomElement(Element)
.
elements
- configuration elementsparserContext
- current parser context
public static RuntimeBeanReference parseCustomElement(Element element, ParserContext parserContext)
element
- element to parseparserContext
- current parser context
public static RuntimeBeanReference parseCustomElement(Element element, String idAttribute, ParserContext parserContext)
element
- element to parseidAttribute
- attribute that carries the unique ID for the beanparserContext
- current parser context
public static RuntimeBeanReference parseCustomElementReference(Element element, String refAttribute, ParserContext parserContext)
element
- the element that references the beanrefAttribute
- the name of the attribute that contains the referenced bean's nameparserContext
- current parsing context
public static ManagedList parseCustomElements(List<Element> elements, ParserContext parserContext)
elements
- list of elements to parseparserContext
- current parsing context
public static ManagedList parseCustomElements(List<Element> elements, String idAttribute, ParserContext parserContext)
elements
- list of elements to parseidAttribute
- attribute that carries the unique ID for the beanparserContext
- current parsing context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |