|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hivemind.impl.ServiceImplementationFactoryParametersImpl
public class ServiceImplementationFactoryParametersImpl
Wrapper around a ServicePoint and a List of parameters,
passed to a ServiceImplementationFactory.
| Constructor Summary | |
|---|---|
ServiceImplementationFactoryParametersImpl(ServicePoint servicePoint,
Module invokingModule,
java.util.List parameters)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
This method is only used in testing. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceImplementationFactoryParametersImpl(ServicePoint servicePoint,
Module invokingModule,
java.util.List parameters)
| Method Detail |
|---|
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String getServiceId()
ServiceImplementationFactoryParameters
getServiceId in interface ServiceImplementationFactoryParameterspublic java.lang.Class getServiceInterface()
ServiceImplementationFactoryParameters
getServiceInterface in interface ServiceImplementationFactoryParameterspublic org.apache.commons.logging.Log getLog()
ServiceImplementationFactoryParameters
getLog in interface ServiceImplementationFactoryParameterspublic ErrorLog getErrorLog()
ServiceImplementationFactoryParametersErrorLog instance used for reporting recoverable errors related to the service (or
the construction of the service).
getErrorLog in interface ServiceImplementationFactoryParameterspublic Module getInvokingModule()
ServiceImplementationFactoryParameters
getInvokingModule in interface ServiceImplementationFactoryParameterspublic java.util.List getParameters()
ServiceImplementationFactoryParameters
getParameters in interface ServiceImplementationFactoryParameterspublic java.lang.Object getFirstParameter()
ServiceImplementationFactoryParameters
getFirstParameter in interface ServiceImplementationFactoryParameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||