public class CglibSubclassingInstantiationStrategy extends SimpleInstantiationStrategy
Method Injection を実装するためにコンテナーによってメソッドをオーバーライドする必要がある場合は、CGLIB を使用して動的にサブクラスを生成します。
コンストラクターと説明 |
---|
CglibSubclassingInstantiationStrategy() |
修飾子と型 | メソッドと説明 |
---|---|
protected ObjectSE | instantiateWithMethodInjection(RootBeanDefinition bd, StringSE beanName, BeanFactory owner) サブクラスは、指定された RootBeanDefinition で指定されたメソッドインジェクションでオブジェクトをインスタンス化できる場合、UnsupportedOperationException をスローするように実装されているこのメソッドをオーバーライドできます。 |
protected ObjectSE | instantiateWithMethodInjection(RootBeanDefinition bd, StringSE beanName, BeanFactory owner, ConstructorSE<?> ctor, ObjectSE... args) サブクラスは、指定された RootBeanDefinition で指定されたメソッドインジェクションでオブジェクトをインスタンス化できる場合、UnsupportedOperationException をスローするように実装されているこのメソッドをオーバーライドできます。 |
getCurrentlyInvokedFactoryMethod, instantiate, instantiate, instantiate
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected ObjectSE instantiateWithMethodInjection(RootBeanDefinition bd, @Nullable StringSE beanName, BeanFactory owner)
SimpleInstantiationStrategy
SimpleInstantiationStrategy
の instantiateWithMethodInjection
protected ObjectSE instantiateWithMethodInjection(RootBeanDefinition bd, @Nullable StringSE beanName, BeanFactory owner, @Nullable ConstructorSE<?> ctor, ObjectSE... args)
SimpleInstantiationStrategy
SimpleInstantiationStrategy
の instantiateWithMethodInjection