1 22 package org.jboss.kernel.spi.config; 23 24 import org.jboss.beans.info.spi.BeanInfo; 25 import org.jboss.kernel.spi.KernelObject; 26 import org.jboss.kernel.spi.bootstrap.KernelInitializer; 27 import org.jboss.kernel.spi.dependency.KernelController; 28 import org.jboss.kernel.spi.event.KernelEventManager; 29 import org.jboss.kernel.spi.metadata.KernelMetaDataRepository; 30 import org.jboss.kernel.spi.registry.KernelBus; 31 import org.jboss.kernel.spi.registry.KernelRegistry; 32 import org.jboss.reflect.spi.ClassInfo; 33 import org.jboss.reflect.spi.TypeInfo; 34 35 44 public interface KernelConfig extends KernelObject 45 { 46 54 BeanInfo getBeanInfo(String className, ClassLoader cl) throws Throwable ; 55 56 63 BeanInfo getBeanInfo(Class clazz) throws Throwable ; 64 65 72 BeanInfo getBeanInfo(TypeInfo type) throws Throwable ; 73 74 82 ClassInfo getClassInfo(String className, ClassLoader cl) throws Throwable ; 83 84 91 ClassInfo getClassInfo(Class clazz) throws Throwable ; 92 93 99 KernelBus createKernelBus() throws Throwable ; 100 101 107 KernelConfigurator createKernelConfigurator() throws Throwable ; 108 109 115 KernelController createKernelController() throws Throwable ; 116 117 123 KernelEventManager createKernelEventManager() throws Throwable ; 124 125 131 KernelInitializer createKernelInitializer() throws Throwable ; 132 133 139 KernelRegistry createKernelRegistry() throws Throwable ; 140 141 147 KernelMetaDataRepository createKernelMetaDataRepository() throws Throwable ; 148 } 149 | Popular Tags |