Class RecursiveTypedParentContextLookup<StartContext extends BaseContext,ParentContext extends BaseContext>

java.lang.Object
org.opensaml.messaging.context.navigate.RecursiveTypedParentContextLookup<StartContext,ParentContext>
Type Parameters:
StartContext - type of starting context
ParentContext - type of the parent context
All Implemented Interfaces:
Function<StartContext,ParentContext>, ContextDataLookupFunction<StartContext,ParentContext>
Direct Known Subclasses:
ParentProfileRequestContextLookup

public class RecursiveTypedParentContextLookup<StartContext extends BaseContext,ParentContext extends BaseContext> extends Object implements ContextDataLookupFunction<StartContext,ParentContext>
A ContextDataLookupFunction that recurses up the parent chain of the input via BaseContext.getParent(), and returns the first parent context that is an instance of the specified type.