T1 - type of collection memberT2 - type of collection itselfpublic abstract class AbstractCollectionConfigurationLookupStrategy<T1,T2> extends AbstractMetadataDrivenConfigurationLookupStrategy<T2>
AbstractMetadataDrivenConfigurationLookupStrategy.CachedConfigurationContext| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private Class<T1> |
propertyType
Type of bean in collection.
|
| Constructor and Description |
|---|
AbstractCollectionConfigurationLookupStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected T1 |
createInstanceFromString(String input)
Helper method to manufacture instance of object using a string constructor or a cast.
|
protected void |
doInitialize() |
Class<T1> |
getPropertyType()
Get the type of object to coerce collection elements into.
|
void |
setPropertyType(Class<T1> type)
Set the type of object to coerce collection elements into.
|
protected String |
xmlObjectToString(XMLObject object)
Convert an XMLObject to a String if the type is supported.
|
apply, doTranslate, setEnableCaching, setMetadataLookupStrategy, setProfileAliases, setProfileIdLookupStrategy, setPropertyName, setStrictNameFormatdestroy, doDestroy, initialize, isDestroyed, isInitialized@Nonnull private final org.slf4j.Logger log
@NonnullAfterInit private Class<T1> propertyType
public AbstractCollectionConfigurationLookupStrategy()
@NonnullAfterInit public Class<T1> getPropertyType()
public void setPropertyType(@Nonnull Class<T1> type)
type - object typeprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractMetadataDrivenConfigurationLookupStrategy<T2>ComponentInitializationExceptionprotected T1 createInstanceFromString(@Nonnull@NotEmpty String input) throws ReflectiveOperationException
input - the input stringReflectiveOperationException - if the attempt failsCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.