|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.core.managers.beans.ioc.SpringContainer
public final class SpringContainer
The spring context. This class is responsible for the Spring Application Context.
Constructor Summary | |
---|---|
SpringContainer()
Construct a new SpringContainer. |
Method Summary | |
---|---|
void |
addBeansFile(java.lang.String file)
Add a beans file. |
void |
destroy()
Destroy the application context. |
org.springframework.context.ApplicationContext |
getApplicationContext()
Return the application context. |
org.springframework.context.support.AbstractMessageSource |
getResourceBundle()
Return the resource bundle of the IoC container. |
void |
inject(java.lang.Object bean)
Inject the dependancies into the object. |
void |
loadContext()
Load the context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpringContainer()
Method Detail |
---|
public org.springframework.context.support.AbstractMessageSource getResourceBundle()
IocContainer
getResourceBundle
in interface IocContainer
public org.springframework.context.ApplicationContext getApplicationContext()
IocContainer
getApplicationContext
in interface IocContainer
public void loadContext()
IocContainer
loadContext
in interface IocContainer
public void destroy()
IocContainer
destroy
in interface IocContainer
public void inject(java.lang.Object bean)
IocContainer
inject
in interface IocContainer
bean
- The object to inject dependencies intopublic void addBeansFile(java.lang.String file)
IocContainer
addBeansFile
in interface IocContainer
file
- The beans file to add.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |