org.apache.hivemind
Interface ServiceImplementationFactory
- All Known Implementing Classes:
- BuilderFactory
- public interface ServiceImplementationFactory
Interface for an object that can create a service's core implementation.
- Author:
- Howard Lewis Ship
Method Summary |
java.lang.Object |
createCoreServiceImplementation(java.lang.String serviceId,
java.lang.Class serviceInterface,
org.apache.commons.logging.Log serviceLog,
Module invokingModule,
java.util.List parameters)
Creates a core implementation object for a particular service extension point. |
createCoreServiceImplementation
public java.lang.Object createCoreServiceImplementation(java.lang.String serviceId,
java.lang.Class serviceInterface,
org.apache.commons.logging.Log serviceLog,
Module invokingModule,
java.util.List parameters)
- Creates a core implementation object for a particular service extension point.
Typically, the factory creates an instance and modifies it to implement
the necessary interface (in much the same way that an
ServiceInterceptorFactory
would).
- Parameters:
serviceId
- the id of the service extension point for which a core service implementation
should be createdserviceInterface
- the interface for the serviceinvokingModule
- the module containing the service extension which invokes
the factoryserviceLog
- the logger to use for any output concerning the serviceparameters
- the parameters passed to the factory (possibly converted, if
the factory has a parameter schema). May be empty but won't be null.