org.jboss.kernel.plugins.dependency
Class ScopeHierarchyBuilder
java.lang.Object
org.jboss.kernel.plugins.dependency.ScopeHierarchyBuilder
public final class ScopeHierarchyBuilder
- extends Object
ScopeHierarchyBuilder.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScopeHierarchyBuilder
public ScopeHierarchyBuilder()
buildControllerHierarchy
public static AbstractController buildControllerHierarchy(AbstractKernelController top,
org.jboss.metadata.spi.repository.MutableMetaDataRepository mmdr,
org.jboss.metadata.spi.scope.ScopeKey scopeKey)
throws Throwable
- Create whole hierarchy.
Fill in missing controllers.
- Parameters:
top
- the top controllermmdr
- the mutable metadata repositoryscopeKey
- the current scope key
- Returns:
- controller for current scope key
- Throws:
Throwable
- for any error
cleanControllerHierarchy
public static void cleanControllerHierarchy(org.jboss.metadata.spi.repository.MutableMetaDataRepository mmdr,
org.jboss.metadata.spi.scope.ScopeKey scopeKey,
ControllerContext context)
- Clean controller hierarchy.
- Parameters:
mmdr
- the mutable metadata repositoryscopeKey
- the current scope keycontext
- the context to remove
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.