org.apache.hivemind.lib.impl
Class SpringObjectProvider

java.lang.Object
  extended by 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

Constructor Summary
SpringObjectProvider()
           
 
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
 

Constructor Detail

SpringObjectProvider

public SpringObjectProvider()
Method Detail

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)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.