|
HDIV API 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hdiv.application.ApplicationHDIV
public class ApplicationHDIV
ServletContext's Wrapper class
BeanFactoryAware| Constructor Summary | |
|---|---|
ApplicationHDIV()
|
|
| Method Summary | |
|---|---|
javax.servlet.ServletContext |
getApplication()
|
java.lang.Object |
getBean(java.lang.String name)
Return an instance, which may be shared or independent, of the given bean name. |
void |
setApplication(javax.servlet.ServletContext application)
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Callback that supplies the owning factory to a bean instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationHDIV()
| Method Detail |
|---|
public javax.servlet.ServletContext getApplication()
public void setApplication(javax.servlet.ServletContext application)
setApplication in interface IApplicationpublic java.lang.Object getBean(java.lang.String name)
Callers may retain references to returned objects in the case of Singleton beans.
Translates aliases back to the corresponding canonical bean name. Will ask the parent factory if the bean cannot be found in this factory instance.
getBean in interface IApplicationname - the name of the bean to return
org.springframework.beans.factory.NoSuchBeanDefinitionException - if there is no bean definition with the
specified name
org.springframework.beans.BeansException - if the bean could not be obtainedpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory in interface IApplicationsetBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarebeanFactory - owning BeanFactory (may not be null). The bean can
immediately call methods on the factory.
|
HDIV 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||