org.jboss.dependency.plugins.graph
Class ScopeKeySearchInfo
java.lang.Object
org.jboss.dependency.plugins.graph.ScopeKeySearchInfo
- All Implemented Interfaces:
- Serializable, SearchInfo
public class ScopeKeySearchInfo
- extends Object
- implements SearchInfo, Serializable
ScopeKey search info.
- Author:
- Ales Justin
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCOPE_KEY
public static final String SCOPE_KEY
- See Also:
- Constant Field Values
ScopeKeySearchInfo
public ScopeKeySearchInfo(org.jboss.metadata.spi.scope.ScopeKey scopeKey)
getType
public String getType()
- Description copied from interface:
SearchInfo
- The search type.
If there is no supported lookup strategy
GraphController implementation might
return context on itself.
- Specified by:
getType
in interface SearchInfo
- Returns:
- the type
getInfo
public Map<String,?> getInfo()
- Description copied from interface:
SearchInfo
- Get the info.
Additional parameters to be used for search.
- Specified by:
getInfo
in interface SearchInfo
- Returns:
- the additional info
getStrategy
public LookupStrategy getStrategy()
- Description copied from interface:
SearchInfo
- 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.
- Specified by:
getStrategy
in interface SearchInfo
- Returns:
- the strategy or null depending on GraphContorller
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.