|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SpringLookupExt
This interface defines the contract that must be used for looking up Spring beans. The implementing class can be found inside the spring-dep project. As you can see we return an Object instead of a spring bean, this is to keep things independent, so that the core can be used independently if you do not use spring.
The default implementation class can be found in the spring-dep project, if you wish to provide a custom implementation, feel free and specify in the jv-config.xml file.
| Method Summary | |
|---|---|
java.lang.Object |
getSpringBean(java.lang.String name)
This method locates given bean and returns it. |
void |
setApplicationContext(java.lang.Object context)
Called by the jv framework when initializing the implementation class (right after jvConfiguration is set). |
void |
setJvConfigurationWrapper(JvConfigurationWrapper jvConfigWrapper)
Called by the jv framework when initializing the implementation class (right after constructing an instance). |
| Method Detail |
|---|
java.lang.Object getSpringBean(java.lang.String name)
name - The name of the spring bean
void setJvConfigurationWrapper(JvConfigurationWrapper jvConfigWrapper)
jvConfigWrapper - The configuration of the framework, allowing access to
the current configuration.void setApplicationContext(java.lang.Object context)
context - Must implement org.springframework.context.ApplicationContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||