org.jboss.dependency.spi.graph
Interface SearchInfo

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

public interface SearchInfo

Search info. Holding the type or/and lookup strategy.

Author:
Ales Justin

Method Summary
 Map<String,?> getInfo()
          Get the info.
 LookupStrategy getStrategy()
          Get the lookup strategy.
 String getType()
          The search type.
 

Method Detail

getType

String getType()
The search type. If there is no supported lookup strategy GraphController implementation might return context on itself.

Returns:
the type

getInfo

Map<String,?> getInfo()
Get the info. Additional parameters to be used for search.

Returns:
the additional info

getStrategy

LookupStrategy getStrategy()
Get the lookup strategy. Might be null, but then we expect the GraphController to implement this search type. Otherwise error should be thown by GraphController.

Returns:
the strategy or null depending on GraphContorller


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