org.jboss.dependency.plugins.graph
Class ParentLookupStrategy

java.lang.Object
  extended by org.jboss.dependency.plugins.graph.AbstractLookupStrategy
      extended by org.jboss.dependency.plugins.graph.ParentLookupStrategy
All Implemented Interfaces:
LookupStrategy, SearchInfo

public class ParentLookupStrategy
extends AbstractLookupStrategy

Check parent. Return null if there is no parent.

Author:
Ales Justin

Constructor Summary
ParentLookupStrategy()
           
 
Method Summary
protected  ControllerContext getContextInternal(AbstractController controller, Object name, ControllerState state)
          Get context based on this strategy.
 
Methods inherited from class org.jboss.dependency.plugins.graph.AbstractLookupStrategy
getContext, getInfo, getStrategy, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParentLookupStrategy

public ParentLookupStrategy()
Method Detail

getContextInternal

protected ControllerContext getContextInternal(AbstractController controller,
                                               Object name,
                                               ControllerState state)
Description copied from class: AbstractLookupStrategy
Get context based on this strategy.

Specified by:
getContextInternal in class AbstractLookupStrategy
Parameters:
controller - the current abstract 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.