org.apache.hivemind.lib.impl
Class ServicePropertyFactory

java.lang.Object
  extended by org.apache.hivemind.lib.impl.ServicePropertyFactory
All Implemented Interfaces:
org.apache.hivemind.ServiceImplementationFactory

public class ServicePropertyFactory
extends java.lang.Object
implements org.apache.hivemind.ServiceImplementationFactory

Factory that dynamically exposes a property of another service. A proxy is constructed that accesses the target service and obtains a property from that. The service interface of the constructed service must match the type of the exposed property.

Author:
Howard Lewis Ship

Constructor Summary
ServicePropertyFactory()
           
 
Method Summary
 java.lang.Object createCoreServiceImplementation(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParameters)
           
 void setClassFactory(org.apache.hivemind.service.ClassFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServicePropertyFactory

public ServicePropertyFactory()
Method Detail

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 factory)