org.springframework.jee.spi
Class WLSInstantiationStrategy
java.lang.Object
org.springframework.jee.spi.WLSInstantiationStrategy
- All Implemented Interfaces:
- InstantiationStrategy
public class WLSInstantiationStrategy
- extends Object
- implements InstantiationStrategy
InstantiationStrategy
that hooks the WLS
ComponentFactory
into the Spring instantiation process. This
allows WLS to change how component object instantiation happens.
- Since:
- 10.0
- Author:
- Safin Li, Michael Chen
- See Also:
WLSBootstrap
Method Summary |
Object |
instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner)
|
Object |
instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner,
Constructor ctor,
Object[] args)
|
Object |
instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner,
Object factoryBean,
Method factoryMethod,
Object[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WLSInstantiationStrategy
public WLSInstantiationStrategy(ComponentFactory componentFactory)
instantiate
public Object instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner)
throws BeansException
- Specified by:
instantiate
in interface InstantiationStrategy
- Throws:
BeansException
instantiate
public Object instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner,
Constructor ctor,
Object[] args)
throws BeansException
- Specified by:
instantiate
in interface InstantiationStrategy
- Throws:
BeansException
instantiate
public Object instantiate(RootBeanDefinition beanDefinition,
String beanName,
BeanFactory owner,
Object factoryBean,
Method factoryMethod,
Object[] args)
throws BeansException
- Specified by:
instantiate
in interface InstantiationStrategy
- Throws:
BeansException
Copyright © 2006-2008 SpringSource (formerly Interface21). All Rights Reserved.