1 16 17 package org.springframework.beans.factory.support; 18 19 import java.lang.reflect.Constructor ; 20 import java.lang.reflect.Method ; 21 22 import org.springframework.beans.BeansException; 23 import org.springframework.beans.factory.BeanFactory; 24 25 34 public interface InstantiationStrategy { 35 36 46 Object instantiate( 47 RootBeanDefinition beanDefinition, String beanName, BeanFactory owner) throws BeansException; 48 49 62 Object instantiate( 63 RootBeanDefinition beanDefinition, String beanName, BeanFactory owner, 64 Constructor ctor, Object [] args) throws BeansException; 65 66 81 Object instantiate( 82 RootBeanDefinition beanDefinition, String beanName, BeanFactory owner, 83 Object factoryBean, Method factoryMethod, Object [] args) throws BeansException; 84 85 } 86 | Popular Tags |