org.apache.hivemind.lib.impl
Class SpringObjectProvider
java.lang.Object
org.apache.hivemind.lib.impl.SpringObjectProvider
- All Implemented Interfaces:
- org.apache.hivemind.service.ObjectProvider
public class SpringObjectProvider
- extends java.lang.Object
- implements org.apache.hivemind.service.ObjectProvider
Implementation of ObjectProvider
mapped to the "spring:"
prefix. The locator is the name of a bean inside a Spring BeanFactory. The BeanFactory to be used
- Since:
- 1.1
- Author:
- Howard M. Lewis Ship
Method Summary |
java.lang.Object |
provideObject(org.apache.hivemind.internal.Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
org.apache.hivemind.Location location)
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringObjectProvider
public SpringObjectProvider()
provideObject
public java.lang.Object provideObject(org.apache.hivemind.internal.Module contributingModule,
java.lang.Class propertyType,
java.lang.String locator,
org.apache.hivemind.Location location)
- Specified by:
provideObject
in interface org.apache.hivemind.service.ObjectProvider
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)