public class SpringObjectInstantiationListener extends Object implements IObjectInstantiationListener, org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
SpringObjectInstantiationListener()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
getInstance(String className)
Try to instantiate the 'className' object.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public SpringObjectInstantiationListener()
context
- Current servlet context.public Object getInstance(String className)
IObjectInstantiationListener
getInstance
in interface IObjectInstantiationListener
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2010–2016. All rights reserved.