org.jboss.dependency.plugins.graph
Class DefaultLookupStrategy

java.lang.Object
  extended by org.jboss.dependency.plugins.graph.DefaultLookupStrategy
All Implemented Interfaces:
LookupStrategy

public class DefaultLookupStrategy
extends Object
implements LookupStrategy

Default lookup.

Author:
Ales Justin

Constructor Summary
DefaultLookupStrategy()
           
 
Method Summary
 ControllerContext getContext(Controller controller, Object name, ControllerState state)
          Get context based on this strategy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLookupStrategy

public DefaultLookupStrategy()
Method Detail

getContext

public ControllerContext getContext(Controller controller,
                                    Object name,
                                    ControllerState state)
Description copied from interface: LookupStrategy
Get context based on this strategy.

Specified by:
getContext in interface LookupStrategy
Parameters:
controller - the current controller
name - the name of the context
state - the context's state
Returns:
context or null if not available


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