org.jboss.dependency.spi.graph
Interface LookupStrategy

All Known Implementing Classes:
AbstractLookupStrategy, ChildrenOnlyDepthLookupStrategy, ChildrenOnlyLeavesFirstLookupStrategy, ChildrenOnlyWidthLookupStrategy, DefaultLookupStrategy, DepthLookupStrategy, HierarchyLookupStrategy, LeavesFirstLookupStrategy, LocalLookupStrategy, ParentLookupStrategy, ParentOnlyLookupStrategy, ScopeKeyLookupStrategy, TopLevelLookupStrategy, WidthLookupStrategy

public interface LookupStrategy

Context lookup strategy.

Author:
Ales Justin

Method Summary
 ControllerContext getContext(Controller controller, Object name, ControllerState state)
          Get context based on this strategy.
 

Method Detail

getContext

ControllerContext getContext(Controller controller,
                             Object name,
                             ControllerState state)
Get context based on this strategy.

Parameters:
controller - the current controller
name - the name of the context
state - the context's state
Returns:
context or null if not available


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.