Class ScriptTypeBeanParser
java.lang.Object
net.shibboleth.idp.profile.spring.relyingparty.metadata.ScriptTypeBeanParser
Parser for elements derived from ScriptType in the various namespaces.
The actual bean type is a runtime class so that different objects adhering to the general factory contracts used with scripted beans will work.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BeanDefinitionBuilder
parseScriptType
(Class<?> type, Element element) Parse and return a builder for a bean adhering to the contract of ScriptedType.
-
Field Details
-
LOG
@Nonnull private static final org.slf4j.Logger LOGLogger.
-
-
Constructor Details
-
ScriptTypeBeanParser
private ScriptTypeBeanParser()Private c'tor.
-
-
Method Details
-
parseScriptType
@Nonnull public static BeanDefinitionBuilder parseScriptType(@Nonnull Class<?> type, @Nonnull Element element) Parse and return a builder for a bean adhering to the contract of ScriptedType.- Parameters:
type
- type of object to buildelement
- root of XML configuration- Returns:
- bean definition builder
-