org.apache.hivemind.lib.impl
Class SpringLookupFactory

java.lang.Object
  |
  +--org.apache.hivemind.impl.BaseLocatable
        |
        +--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(java.lang.String serviceId, java.lang.Class serviceInterface, org.apache.commons.logging.Log serviceLog, org.apache.hivemind.internal.Module invokingModule, java.util.List parameters)
           
 void setDefaultBeanFactorySource(SpringBeanFactorySource source)
           
 
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(java.lang.String serviceId,
                                                        java.lang.Class serviceInterface,
                                                        org.apache.commons.logging.Log serviceLog,
                                                        org.apache.hivemind.internal.Module invokingModule,
                                                        java.util.List parameters)
Specified by:
createCoreServiceImplementation in interface org.apache.hivemind.ServiceImplementationFactory

setDefaultBeanFactorySource

public void setDefaultBeanFactorySource(SpringBeanFactorySource source)