|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.BaseLocatable org.apache.hivemind.service.impl.BuilderFacet org.apache.hivemind.service.impl.BuilderServiceIdFacet
public class BuilderServiceIdFacet
BuilderFacet
whose value is the service id of the
service being constructed.
Constructor Summary | |
---|---|
BuilderServiceIdFacet()
|
Method Summary | |
---|---|
protected java.lang.String |
getDefaultPropertyName()
Returns null. |
java.lang.Object |
getFacetValue(ServiceImplementationFactoryParameters parameters,
java.lang.Class targetType)
Implemented in subclasses to provide a specific value for the facet (for use as a constructor parameter, or as a value to set a property to). |
boolean |
isAssignableToType(ServiceImplementationFactoryParameters factoryParameters,
java.lang.Class targetType)
|
Methods inherited from class org.apache.hivemind.service.impl.BuilderFacet |
---|
autowire, canAutowireConstructorParameter, getPropertyName, setPropertyName |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
---|
getLocation, setLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuilderServiceIdFacet()
Method Detail |
---|
public java.lang.Object getFacetValue(ServiceImplementationFactoryParameters parameters, java.lang.Class targetType)
BuilderFacet
getFacetValue
in class BuilderFacet
parameters
- the parameters that define the service point and its environmenttargetType
- the desired property type (extracted from the property type of the property to be
updated, when a property is known)public boolean isAssignableToType(ServiceImplementationFactoryParameters factoryParameters, java.lang.Class targetType)
isAssignableToType
in class BuilderFacet
protected java.lang.String getDefaultPropertyName()
BuilderFacet
BuilderFacet.autowire(Object, ServiceImplementationFactoryParameters)
.
getDefaultPropertyName
in class BuilderFacet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |