org.apache.hivemind.lib.adapter
Class AdapterRegistryFactory
java.lang.Object
org.apache.hivemind.lib.adapter.AdapterRegistryFactory
- All Implemented Interfaces:
- org.apache.hivemind.ServiceImplementationFactory
- public class AdapterRegistryFactory
- extends java.lang.Object
- implements org.apache.hivemind.ServiceImplementationFactory
Constructs a service where the first parameter of each method is used to selected an adapter from
an AdapterRegistry
. The method invocation is then delegated
to the adapter.
The service factory parameter defines a configuration (of
AdapterRegistryContribution
that provide the mapping from
Java classes (or interfaces) to adapter instances.
- Since:
- 1.1
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdapterRegistryFactory
public AdapterRegistryFactory()
createCoreServiceImplementation
public java.lang.Object createCoreServiceImplementation(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParameters)
- Specified by:
createCoreServiceImplementation
in interface org.apache.hivemind.ServiceImplementationFactory
setClassFactory
public void setClassFactory(org.apache.hivemind.service.ClassFactory classFactory)