public class BuilderFactory extends java.lang.Object implements ServiceImplementationFactory
ServiceImplementationFactory
that can instantiate
an object and then configure its properties.
Some thought has been given to using bytecode generation to create properties for messages, extension point id, and so forth. This is being avoided because it undermines the ability to test service implemenations as POJOs, outside the framework of HiveMind.
Instead the service is configured by means of the implementation's constructor and setter methods.
Constructor and Description |
---|
BuilderFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createCoreServiceImplementation(ServiceImplementationFactoryParameters factoryParameters)
Creates a core implementation object for a particular service extension point.
|
public BuilderFactory()
public java.lang.Object createCoreServiceImplementation(ServiceImplementationFactoryParameters factoryParameters)
ServiceImplementationFactory
ServiceInterceptorFactory
would). Incompatible change from 1.0: A
long list of individual parameters have been collapsed down into the factoryParameters. createCoreServiceImplementation
in interface ServiceImplementationFactory
factoryParameters
- provides the information about the service necessary to construct the service.