1 22 package org.jboss.kernel.spi.config; 23 24 import java.util.List ; 25 import java.util.Set ; 26 27 import org.jboss.beans.info.spi.PropertyInfo; 28 import org.jboss.beans.info.spi.BeanInfo; 29 import org.jboss.beans.metadata.spi.ConstructorMetaData; 30 import org.jboss.beans.metadata.spi.ParameterMetaData; 31 import org.jboss.beans.metadata.spi.PropertyMetaData; 32 import org.jboss.beans.metadata.spi.BeanMetaData; 33 import org.jboss.beans.metadata.spi.ValueMetaData; 34 import org.jboss.joinpoint.spi.Joinpoint; 35 import org.jboss.joinpoint.spi.MethodJoinpoint; 36 import org.jboss.joinpoint.spi.TargettedJoinpoint; 37 import org.jboss.kernel.spi.KernelObject; 38 import org.jboss.reflect.spi.ClassInfo; 39 import org.jboss.reflect.spi.TypeInfo; 40 41 50 public interface KernelConfigurator extends KernelObject 51 { 52 60 BeanInfo getBeanInfo(String className, ClassLoader cl) throws Throwable ; 61 62 69 BeanInfo getBeanInfo(Class clazz) throws Throwable ; 70 71 78 BeanInfo getBeanInfo(TypeInfo type) throws Throwable ; 79 80 87 BeanInfo getBeanInfo(BeanMetaData metaData) throws Throwable ; 88 89 97 ClassInfo getClassInfo(String className, ClassLoader cl) throws Throwable ; 98 99 106 ClassInfo getClassInfo(Class clazz) throws Throwable ; 107 108 115 Joinpoint getConstructorJoinPoint(BeanInfo info) throws Throwable ; 116 117 124 Joinpoint getConstructorJoinPoint(BeanMetaData metaData) throws Throwable ; 125 126 135 Joinpoint getConstructorJoinPoint(BeanInfo info, ConstructorMetaData metaData, BeanMetaData beanMetaData) throws Throwable ; 136 137 145 TargettedJoinpoint getPropertyGetterJoinPoint(BeanInfo info, String property) throws Throwable ; 146 147 155 Set <TargettedJoinpoint> getPropertySetterJoinPoints(BeanInfo info, BeanMetaData metaData) throws Throwable ; 156 157 166 TargettedJoinpoint getPropertySetterJoinPoint(BeanInfo info, ClassLoader cl, PropertyMetaData metaData) throws Throwable ; 167 168 178 TargettedJoinpoint getPropertySetterJoinPoint(BeanInfo info, String property, ClassLoader cl, ValueMetaData vmd) throws Throwable ; 179 180 189 TargettedJoinpoint getPropertySetterJoinPoint(PropertyInfo info, ClassLoader cl, PropertyMetaData metaData) throws Throwable ; 190 191 199 Set <TargettedJoinpoint> getPropertyNullerJoinPoints(BeanInfo info, BeanMetaData metaData) throws Throwable ; 200 201 209 TargettedJoinpoint getPropertyNullerJoinPoint(BeanInfo info, PropertyMetaData metaData) throws Throwable ; 210 211 219 TargettedJoinpoint getPropertyNullerJoinPoint(PropertyInfo info, PropertyMetaData metaData) throws Throwable ; 220 221 233 MethodJoinpoint getMethodJoinPoint(BeanInfo info, ClassLoader cl, String name, List <ParameterMetaData> parameters, boolean isStatic, boolean isPublic) throws Throwable ; 234 } 235 | Popular Tags |