org.apache.hivemind.lib.factory
Class BeanFactoryObjectProvider
java.lang.Object
org.apache.hivemind.lib.factory.BeanFactoryObjectProvider
- All Implemented Interfaces:
- org.apache.hivemind.service.ObjectProvider
public class BeanFactoryObjectProvider
- extends java.lang.Object
- implements org.apache.hivemind.service.ObjectProvider
An ObjectProvider
that references a named (or named and initialized) bean from a
BeanFactory
. The translator string is of the form:
service-id:name[,initializer]
. That is, the text after the colon
is an initializer passed to BeanFactory.get(String)
.
- Author:
- Howard Lewis Ship
Method Summary |
java.lang.Object |
provideObject(org.apache.hivemind.internal.Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
org.apache.hivemind.Location location)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanFactoryObjectProvider
public BeanFactoryObjectProvider()
provideObject
public java.lang.Object provideObject(org.apache.hivemind.internal.Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
org.apache.hivemind.Location location)
- Specified by:
provideObject
in interface org.apache.hivemind.service.ObjectProvider