Class SpringExpressionContextLookupFunction<T extends org.opensaml.messaging.context.BaseContext,U>
- java.lang.Object
-
- net.shibboleth.ext.spring.util.AbstractSpringExpressionEvaluator<T,U>
-
- net.shibboleth.ext.spring.util.SpringExpressionFunction<T,U>
-
- net.shibboleth.idp.profile.context.navigate.SpringExpressionContextLookupFunction<T,U>
-
- Type Parameters:
T- the specific type of contextU- output type
- All Implemented Interfaces:
Function<T,U>,org.opensaml.messaging.context.navigate.ContextDataLookupFunction<T,U>
public class SpringExpressionContextLookupFunction<T extends org.opensaml.messaging.context.BaseContext,U> extends net.shibboleth.ext.spring.util.SpringExpressionFunction<T,U> implements org.opensaml.messaging.context.navigate.ContextDataLookupFunction<T,U>AFunctionover aBaseContextwhich calls out to a Spring Expression.- Since:
- 3.3.0
-
-
Constructor Summary
Constructors Constructor Description SpringExpressionContextLookupFunction(Class<T> inClass, String expression)Constructor.SpringExpressionContextLookupFunction(Class<T> inClass, String expression, Class<U> outputType)Constructor.
-
Method Summary
-
Methods inherited from class net.shibboleth.ext.spring.util.AbstractSpringExpressionEvaluator
evaluate, getCustomObject, getInputType, getOutputType, prepareContext, setCustomObject, setHideExceptions, setInputType, setOutputType, setReturnOnError
-
-
-
-
Constructor Detail
-
SpringExpressionContextLookupFunction
public SpringExpressionContextLookupFunction(@Nonnull @ParameterName(name="inClass") Class<T> inClass, @Nonnull @NotEmpty @ParameterName(name="expression") String expression)Constructor.- Parameters:
inClass- the class we accept as input.expression- the expression to evaluate.
-
SpringExpressionContextLookupFunction
public SpringExpressionContextLookupFunction(@Nonnull @ParameterName(name="inClass") Class<T> inClass, @Nonnull @NotEmpty @ParameterName(name="expression") String expression, @ParameterName(name="outputType") @Nullable Class<U> outputType)Constructor.- Parameters:
inClass- the class we accept as input.expression- the expression to evaluate.outputType- the type to test against.
-
-