org.apache.hivemind.lib.impl
Class SpringLookupFactory

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.hivemind.lib.impl.SpringLookupFactory
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.hivemind.ServiceImplementationFactory

public class SpringLookupFactory
extends org.apache.hivemind.impl.BaseLocatable
implements org.apache.hivemind.ServiceImplementationFactory

Implementation of ServiceImplementationFactory that doesn't create beans, but instead it looks them up inside a Spring BeanFactory.

Author:
Howard Lewis Ship

Constructor Summary
SpringLookupFactory()
           
 
Method Summary
 java.lang.Object createCoreServiceImplementation(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParameters)
           
 void setDefaultBeanFactory(org.springframework.beans.factory.BeanFactory defaultBeanFactory)
           
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringLookupFactory

public SpringLookupFactory()
Method Detail

createCoreServiceImplementation

public java.lang.Object createCoreServiceImplementation(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParameters)
Specified by:
createCoreServiceImplementation in interface org.apache.hivemind.ServiceImplementationFactory

setDefaultBeanFactory

public void setDefaultBeanFactory(org.springframework.beans.factory.BeanFactory defaultBeanFactory)
Since:
1.1