Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.hivemind.service.impl
Class BuilderMessagesFacet  view BuilderMessagesFacet download BuilderMessagesFacet.java

java.lang.Object
  extended byorg.apache.hivemind.impl.BaseLocatable
      extended byorg.apache.hivemind.service.impl.BuilderFacet
          extended byorg.apache.hivemind.service.impl.BuilderMessagesFacet
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder

public class BuilderMessagesFacet
extends BuilderFacet

BuilderFacet whose value is the org.apache.hivemind.Messages for the module containing the service being constructed.


Field Summary
 
Fields inherited from class org.apache.hivemind.service.impl.BuilderFacet
 
Fields inherited from class org.apache.hivemind.impl.BaseLocatable
 
Constructor Summary
BuilderMessagesFacet()
           
 
Method Summary
 boolean canAutowireConstructorParameter()
           
protected  java.lang.String getDefaultPropertyName()
          Returns null.
 java.lang.Object getFacetValue(org.apache.hivemind.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(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParameters, java.lang.Class targetType)
           
 
Methods inherited from class org.apache.hivemind.service.impl.BuilderFacet
autowire, 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

BuilderMessagesFacet

public BuilderMessagesFacet()
Method Detail

getFacetValue

public java.lang.Object getFacetValue(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParameters,
                                      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

isAssignableToType

public boolean isAssignableToType(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParameters,
                                  java.lang.Class targetType)
Specified by:
isAssignableToType in class BuilderFacet

getDefaultPropertyName

protected java.lang.String getDefaultPropertyName()
Description copied from class: BuilderFacet
Returns null. Subclasses can provide the default name for a property used by BuilderFacet.autowire(Object, ServiceImplementationFactoryParameters) 55 .

Overrides:
getDefaultPropertyName in class BuilderFacet

canAutowireConstructorParameter

public boolean canAutowireConstructorParameter()
Overrides:
canAutowireConstructorParameter in class BuilderFacet
Since:
1.1