org.jboss.dependency.plugins.graph
Class LazySearchInfo

java.lang.Object
  extended by org.jboss.dependency.plugins.graph.LazySearchInfo
All Implemented Interfaces:
Serializable, SearchInfo

public class LazySearchInfo
extends Object
implements SearchInfo, Serializable

Lazy search info. The type is the class.

Author:
Ales Justin
See Also:
Serialized Form

Constructor Summary
LazySearchInfo(String className)
           
 
Method Summary
 Map<String,?> getInfo()
          Get the info.
 LookupStrategy getStrategy()
          Get the lookup strategy.
 String getType()
          The search type.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazySearchInfo

public LazySearchInfo(String className)
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

toString

public String toString()
Overrides:
toString in class Object


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