public class BuilderPropertyFacet extends BuilderFacet
BuilderFacet that stores a value. This
corresponds to the <set> type elements and all constructor parameter elements. The value is
not resolved until needed using a specified Translator.| Constructor and Description |
|---|
BuilderPropertyFacet() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getFacetValue(ServiceImplementationFactoryParameters factoryParameters,
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) |
void |
setTranslator(java.lang.String translatorName) |
void |
setValue(java.lang.String value) |
autowire, canAutowireConstructorParameter, getDefaultPropertyName, getPropertyName, setPropertyNamegetLocation, setLocationpublic BuilderPropertyFacet()
public java.lang.Object getFacetValue(ServiceImplementationFactoryParameters factoryParameters, java.lang.Class targetType)
BuilderFacetgetFacetValue in class BuilderFacetfactoryParameters - 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 BuilderFacetpublic void setTranslator(java.lang.String translatorName)
public void setValue(java.lang.String value)