public class BuilderServiceIdFacet extends BuilderFacet
BuilderFacet whose value is the service id of the
service being constructed.| Constructor and Description |
|---|
BuilderServiceIdFacet() |
| Modifier and Type | Method and Description |
|---|---|
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) |
autowire, canAutowireConstructorParameter, getPropertyName, setPropertyNamegetLocation, setLocationpublic BuilderServiceIdFacet()
public java.lang.Object getFacetValue(ServiceImplementationFactoryParameters parameters, java.lang.Class targetType)
BuilderFacetgetFacetValue in class BuilderFacetparameters - 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 BuilderFacetprotected java.lang.String getDefaultPropertyName()
BuilderFacetBuilderFacet.autowire(Object, ServiceImplementationFactoryParameters).getDefaultPropertyName in class BuilderFacet