public class BuilderErrorHandlerFacet extends BuilderFacet
ErrorHandler
to a service as a
constructor parameter or a property.Constructor and Description |
---|
BuilderErrorHandlerFacet() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAutowireConstructorParameter() |
protected java.lang.String |
getDefaultPropertyName()
Returns null.
|
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) |
autowire, getPropertyName, setPropertyName
getLocation, setLocation
public BuilderErrorHandlerFacet()
public java.lang.Object getFacetValue(ServiceImplementationFactoryParameters factoryParameters, java.lang.Class targetType)
BuilderFacet
getFacetValue
in class BuilderFacet
factoryParameters
- 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
public boolean canAutowireConstructorParameter()
canAutowireConstructorParameter
in class BuilderFacet