org.apache.hivemind
Interface ServiceImplementationFactoryParameters

All Known Implementing Classes:
ServiceImplementationFactoryParametersImpl

public interface ServiceImplementationFactoryParameters

A wrapper for the parameters needed by ServiceImplementationFactory.

Since:
1.1
Author:
Howard M. Lewis Ship

Method Summary
 ErrorLog getErrorLog()
          An ErrorLog instance used for reporting recoverable errors related to the service (or the construction of the service).
 java.lang.Object getFirstParameter()
          Returns the first parameter passed to the factory (since most factories take exactly one parameter, this is the most common usage).
 Module getInvokingModule()
          The module containing the service constructor.
 org.apache.commons.logging.Log getLog()
          The log used for any output related to the service (or the construction of the service).
 java.util.List getParameters()
          The parameters passed to the factory to guide the construction of the service.
 java.lang.String getServiceId()
          The fully qualified id of the service.
 java.lang.Class getServiceInterface()
          The interface defined for the service.
 

Method Detail

getServiceId

java.lang.String getServiceId()
The fully qualified id of the service.


getServiceInterface

java.lang.Class getServiceInterface()
The interface defined for the service.


getLog

org.apache.commons.logging.Log getLog()
The log used for any output related to the service (or the construction of the service).


getErrorLog

ErrorLog getErrorLog()
An ErrorLog instance used for reporting recoverable errors related to the service (or the construction of the service).


getInvokingModule

Module getInvokingModule()
The module containing the service constructor. Primarily used to locate other services (or configurations) using simple (non-qualified) ids.


getParameters

java.util.List getParameters()
The parameters passed to the factory to guide the construction of the service. In most cases, there will only be a single element in the list.


getFirstParameter

java.lang.Object getFirstParameter()
Returns the first parameter passed to the factory (since most factories take exactly one parameter, this is the most common usage). If no parameters exist, returns null.