org.apache.hivemind.service.impl
Class BuilderPropertyFacet

java.lang.Object
  |
  +--org.apache.hivemind.impl.BaseLocatable
        |
        +--org.apache.hivemind.service.impl.BuilderFacet
              |
              +--org.apache.hivemind.service.impl.BuilderPropertyFacet
All Implemented Interfaces:
Locatable, LocationHolder

public class BuilderPropertyFacet
extends BuilderFacet

Implementation of BuilderFacet that stores a value. This corresponds to the <set> type elements.

Author:
Howard Lewis Ship

Constructor Summary
BuilderPropertyFacet()
           
 
Method Summary
 java.lang.Object getFacetValue(java.lang.String point, Module invokingModule, 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).
 void setValue(java.lang.Object object)
           
 
Methods inherited from class org.apache.hivemind.service.impl.BuilderFacet
autowire, getDefaultPropertyName, getFacetType, 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

BuilderPropertyFacet

public BuilderPropertyFacet()
Method Detail

getFacetValue

public java.lang.Object getFacetValue(java.lang.String point,
                                      Module invokingModule,
                                      java.lang.Class targetType)
Description copied from class: BuilderFacet
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).

Specified by:
getFacetValue in class BuilderFacet
Parameters:
invokingModule - the Module which invoked the BuilderFactory
targetType - the desired property type (extracted from the property type of the property to be updated, when a property is known)

setValue

public void setValue(java.lang.Object object)