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 ErrorLoginstance 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

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


getServiceInterface

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


getLog

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


getErrorLog

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


getInvokingModule

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


getParameters

public 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

public 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).