org.jboss.dependency.plugins.graph
Class ScopeKeyLookupStrategy
java.lang.Object
org.jboss.dependency.plugins.graph.AbstractLookupStrategy
org.jboss.dependency.plugins.graph.LocalLookupStrategy
org.jboss.dependency.plugins.graph.HierarchyLookupStrategy
org.jboss.dependency.plugins.graph.ScopeKeyLookupStrategy
- All Implemented Interfaces:
- LookupStrategy, SearchInfo
public class ScopeKeyLookupStrategy
- extends HierarchyLookupStrategy
ScopeKey lookup strategy.
It only matches exact scope key level.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScopeKeyLookupStrategy
public ScopeKeyLookupStrategy(org.jboss.metadata.spi.scope.ScopeKey scopeKey)
getContextInternal
protected ControllerContext getContextInternal(AbstractController controller,
Object name,
ControllerState state)
- Description copied from class:
AbstractLookupStrategy
- Get context based on this strategy.
- Overrides:
getContextInternal
in class LocalLookupStrategy
- Parameters:
controller
- the current abstract controllername
- the name of the contextstate
- the context's state
- Returns:
- context or null if not available
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.