|
|||||||||
| Home >> All >> org >> apache >> hivemind >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.hivemind.impl
Class ServiceImplementationFactoryParametersImpl

java.lang.Objectorg.apache.hivemind.impl.ServiceImplementationFactoryParametersImpl
- All Implemented Interfaces:
- org.apache.hivemind.ServiceImplementationFactoryParameters
- public class ServiceImplementationFactoryParametersImpl
- extends java.lang.Object
- implements org.apache.hivemind.ServiceImplementationFactoryParameters
- extends java.lang.Object
Wrapper around a org.apache.hivemind.internal.ServicePoint and a List of parameters, passed to a org.apache.hivemind.ServiceImplementationFactory.
- Since:
- 1.1
| Field Summary | |
private org.apache.hivemind.internal.Module |
_invokingModule
|
private java.util.List |
_parameters
|
private org.apache.hivemind.internal.ServicePoint |
_servicePoint
|
| Constructor Summary | |
ServiceImplementationFactoryParametersImpl(org.apache.hivemind.internal.ServicePoint servicePoint,
org.apache.hivemind.internal.Module invokingModule,
java.util.List parameters)
|
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
This method is only used in testing. |
org.apache.hivemind.ErrorLog |
getErrorLog()
An org.apache.hivemind.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). |
org.apache.hivemind.internal.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 |
| Field Detail |
_servicePoint
private org.apache.hivemind.internal.ServicePoint _servicePoint
_invokingModule
private org.apache.hivemind.internal.Module _invokingModule
_parameters
private java.util.List _parameters
| Constructor Detail |
ServiceImplementationFactoryParametersImpl
public ServiceImplementationFactoryParametersImpl(org.apache.hivemind.internal.ServicePoint servicePoint, org.apache.hivemind.internal.Module invokingModule, java.util.List parameters)
| Method Detail |
equals
public boolean equals(java.lang.Object other)
- This method is only used in testing.
getServiceId
public java.lang.String getServiceId()
- Description copied from interface:
org.apache.hivemind.ServiceImplementationFactoryParameters - The fully qualified id of the service.
- Specified by:
getServiceIdin interfaceorg.apache.hivemind.ServiceImplementationFactoryParameters
getServiceInterface
public java.lang.Class getServiceInterface()
- Description copied from interface:
org.apache.hivemind.ServiceImplementationFactoryParameters - The interface defined for the service.
- Specified by:
getServiceInterfacein interfaceorg.apache.hivemind.ServiceImplementationFactoryParameters
getLog
public org.apache.commons.logging.Log getLog()
- Description copied from interface:
org.apache.hivemind.ServiceImplementationFactoryParameters - The log used for any output related to the service (or the construction of the service).
- Specified by:
getLogin interfaceorg.apache.hivemind.ServiceImplementationFactoryParameters
getErrorLog
public org.apache.hivemind.ErrorLog getErrorLog()
- Description copied from interface:
org.apache.hivemind.ServiceImplementationFactoryParameters - An org.apache.hivemind.ErrorLog instance used for reporting recoverable errors related to the service (or
the construction of the service).
- Specified by:
getErrorLogin interfaceorg.apache.hivemind.ServiceImplementationFactoryParameters
getInvokingModule
public org.apache.hivemind.internal.Module getInvokingModule()
- Description copied from interface:
org.apache.hivemind.ServiceImplementationFactoryParameters - The module containing the service constructor. Primarily used to locate other services (or
configurations) using simple (non-qualified) ids.
- Specified by:
getInvokingModulein interfaceorg.apache.hivemind.ServiceImplementationFactoryParameters
getParameters
public java.util.List getParameters()
- Description copied from interface:
org.apache.hivemind.ServiceImplementationFactoryParameters - 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.
- Specified by:
getParametersin interfaceorg.apache.hivemind.ServiceImplementationFactoryParameters
getFirstParameter
public java.lang.Object getFirstParameter()
- Description copied from interface:
org.apache.hivemind.ServiceImplementationFactoryParameters - 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.
- Specified by:
getFirstParameterin interfaceorg.apache.hivemind.ServiceImplementationFactoryParameters
|
|||||||||
| Home >> All >> org >> apache >> hivemind >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.hivemind.impl.ServiceImplementationFactoryParametersImpl