public Joinpoint getConstructorJoinPoint(BeanInfo info, ConstructorMetaData metaData, BeanMetaData beanMetaData, Object object) throws Throwable { return Configurator.getConstructorJoinPoint(config, info, metaData, beanMetaData, object); }
public Joinpoint getConstructorJoinPoint(BeanInfo info, ConstructorMetaData metaData, BeanMetaData beanMetaData) throws Throwable { return Configurator.getConstructorJoinPoint(config, info, metaData, beanMetaData); }
/** * Get a constructor joinpoint * * @param config the kernel config * @param info the bean info * @param metaData the constructor metadata * @param beanMetaData the bean metadata * @return the joinpoint * @throws Throwable for any error */ public static Joinpoint getConstructorJoinPoint(KernelConfig config, BeanInfo info, ConstructorMetaData metaData, BeanMetaData beanMetaData) throws Throwable { return getConstructorJoinPoint(config, info, metaData, beanMetaData, null); }
/** * Instantiate a bean * * @param config the kernel config * @param info the bean info * @param metaData the bean metadata * @return the instantiated object * @throws Throwable for any error */ public static Object instantiate(KernelConfig config, BeanInfo info, BeanMetaData metaData) throws Throwable { boolean trace = log.isTraceEnabled(); if (trace) log.trace("Instantiating info=" + info + " metaData=" + metaData); ConstructorMetaData constructor = null; if (metaData != null) constructor = metaData.getConstructor(); Joinpoint joinPoint = getConstructorJoinPoint(config, info, constructor, metaData); return joinPoint.dispatch(); }