public abstract class FacetFactoryAbstract extends Object implements FacetFactory, SpecificationLoaderAware
FacetFactory.AbstractProcessContext<T extends FacetHolder>, FacetFactory.ProcessClassContext, FacetFactory.ProcessContextWithMetadataProperties<T extends FacetHolder>, FacetFactory.ProcessMethodContext, FacetFactory.ProcessParameterContext| Constructor and Description |
|---|
FacetFactoryAbstract(List<FeatureType> featureTypes) |
| Modifier and Type | Method and Description |
|---|---|
List<FeatureType> |
getFeatureTypes()
The
feature types that this facet factory can create
Facets for. |
protected SpecificationLoader |
getSpecificationLoader() |
void |
process(FacetFactory.ProcessClassContext processClassContext)
Process the class, and return the correctly setup annotation if present.
|
void |
process(FacetFactory.ProcessMethodContext processMethodContext)
Process the method, and return the correctly setup annotation if present.
|
void |
processParams(FacetFactory.ProcessParameterContext processParameterContext)
Process the parameters of the method, and return the correctly setup
annotation if present.
|
void |
setSpecificationLookup(SpecificationLoader specificationLookup)
Injected
|
public FacetFactoryAbstract(List<FeatureType> featureTypes)
public List<FeatureType> getFeatureTypes()
FacetFactoryfeature types that this facet factory can create
Facets for.
Used by the Java5 Reflector's ProgrammingModel to reduce the
number of factorys that are queried when building up
the meta-model.
getFeatureTypes in interface FacetFactorypublic void process(FacetFactory.ProcessClassContext processClassContext)
FacetFactoryprocess in interface FacetFactorypublic void process(FacetFactory.ProcessMethodContext processMethodContext)
FacetFactoryprocess in interface FacetFactorypublic void processParams(FacetFactory.ProcessParameterContext processParameterContext)
FacetFactoryprocessParams in interface FacetFactoryprotected SpecificationLoader getSpecificationLoader()
public void setSpecificationLookup(SpecificationLoader specificationLookup)
setSpecificationLookup in interface SpecificationLoaderAwareCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.