|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.Object
public java.lang.String getServiceId()
ServiceImplementationFactoryParameters
getServiceId
in interface ServiceImplementationFactoryParameters
public java.lang.Class getServiceInterface()
ServiceImplementationFactoryParameters
getServiceInterface
in interface ServiceImplementationFactoryParameters
public org.apache.commons.logging.Log getLog()
ServiceImplementationFactoryParameters
getLog
in interface ServiceImplementationFactoryParameters
public ErrorLog getErrorLog()
ServiceImplementationFactoryParameters
ErrorLog
instance used for reporting recoverable errors related to the service (or
the construction of the service).
getErrorLog
in interface ServiceImplementationFactoryParameters
public Module getInvokingModule()
ServiceImplementationFactoryParameters
getInvokingModule
in interface ServiceImplementationFactoryParameters
public java.util.List getParameters()
ServiceImplementationFactoryParameters
getParameters
in interface ServiceImplementationFactoryParameters
public 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 |