1 22 package org.jboss.kernel.spi.dependency; 23 24 import java.util.Set ; 25 26 import org.jboss.beans.metadata.spi.BeanMetaData; 27 import org.jboss.dependency.spi.Controller; 28 import org.jboss.kernel.spi.KernelObject; 29 30 41 public interface KernelController extends KernelObject, Controller 42 { 43 50 KernelControllerContext install(BeanMetaData metaData) throws Throwable ; 51 52 60 KernelControllerContext install(BeanMetaData metaData, Object target) throws Throwable ; 61 62 67 void addSupplies(KernelControllerContext context); 68 69 74 void removeSupplies(KernelControllerContext context); 75 76 82 Set <KernelControllerContext> getInstantiatedContexts(Class clazz); 83 84 91 KernelControllerContext getContextByClass(Class clazz); 92 93 99 void addInstantiatedContext(KernelControllerContext context); 100 101 107 void removeInstantiatedContext(KernelControllerContext context); 108 } 109 | Popular Tags |