org.jboss.dependency.plugins.graph
Class ScopeKeySearchInfo

java.lang.Object
  extended by 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

Field Summary
static String SCOPE_KEY
           
 
Constructor Summary
ScopeKeySearchInfo(org.jboss.metadata.spi.scope.ScopeKey scopeKey)
           
 
Method Summary
 Map<String,?> getInfo()
          Get the info.
 LookupStrategy getStrategy()
          Get the lookup strategy.
 String getType()
          The search type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCOPE_KEY

public static final String SCOPE_KEY
See Also:
Constant Field Values
Constructor Detail

ScopeKeySearchInfo

public ScopeKeySearchInfo(org.jboss.metadata.spi.scope.ScopeKey scopeKey)
Method Detail

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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.