Class SpringRegistry
java.lang.Object
org.openehealth.ipf.commons.spring.core.config.SpringRegistry
- All Implemented Interfaces:
Registry
,Aware
,BeanFactoryAware
Class that bridges the
Registry
interface to a Spring
ListableBeanFactory
. You simply need to declare a Spring
bean like this:
<ipf-commons-core:globalContext/>Then the "stateful" Groovy Extension Modules will access the Spring registry.
- Since:
- 2.5
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
boolean
int
hashCode()
void
setBeanFactory
(BeanFactory beanFactory) Stores the beanFactory and initialized theContextFacade
.
-
Constructor Details
-
SpringRegistry
public SpringRegistry()
-
-
Method Details
-
bean
-
bean
-
beans
-
setBeanFactory
Stores the beanFactory and initialized theContextFacade
.- Specified by:
setBeanFactory
in interfaceBeanFactoryAware
- Throws:
BeansException
- See Also:
-
equals
-
hashCode
public int hashCode()
-