public class JavaReflectorInstallerNoDecorators extends InstallerAbstract implements ObjectReflectorInstaller
ObjectReflectorInstaller without support for FacetDecoratorInstaller
being looked up (since this functionality is only available from runtimes.dflt).| Modifier and Type | Field and Description |
|---|---|
protected LinkedHashSet<FacetDecoratorInstaller> |
decoratorInstallers |
static String |
PROPERTY_BASE |
TYPE| Constructor and Description |
|---|
JavaReflectorInstallerNoDecorators() |
JavaReflectorInstallerNoDecorators(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFacetDecoratorInstaller(FacetDecoratorInstaller decoratorInstaller)
Adds in
FacetDecoratorInstaller; if null or if already
added then request will be silently ignored. |
protected Set<FacetDecorator> |
createFacetDecorators(IsisConfiguration configuration)
Hook method to allow subclasses to specify a different sets of
FacetDecorators. |
protected MetaModelValidator |
createMetaModelValidator(IsisConfiguration configuration)
Hook method to allow subclasses to specify a different implementation of
MetaModelValidator. |
protected ProgrammingModel |
createProgrammingModel(IsisConfiguration configuration)
Hook method to allow subclasses to specify a different implementations
(that is, sets of
ProgrammingModel . |
SpecificationLoaderSpi |
createReflector(ClassSubstitutorFactory classSubstitutorFactory,
Collection<MetaModelRefiner> metaModelRefiners)
Should call
#addFacetDecoratorInstaller(ReflectorDecoratorInstaller) prior to
calling this. |
protected void |
excludeFacetFactories(IsisConfiguration configuration,
ProgrammingModel programmingModel)
Factored out of
createProgrammingModel(IsisConfiguration)
so that subclasses that choose to override can still support
customization of their ProgrammingModel in a similar way. |
List<Class<?>> |
getTypes()
The (classes of) the types that this installer makes available in the
module. |
protected void |
includeFacetFactories(IsisConfiguration configuration,
ProgrammingModel programmingModel)
Factored out of
createProgrammingModel(IsisConfiguration)
so that subclasses that choose to override can still support
customization of their ProgrammingModel in a similar way. |
addConfigurationResources, getConfiguration, getConfigurationResources, getName, getType, init, listOf, listOf, setConfiguration, setConfigurationBuilder, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationResources, getName, getTypeinit, shutdownpublic static final String PROPERTY_BASE
protected final LinkedHashSet<FacetDecoratorInstaller> decoratorInstallers
public JavaReflectorInstallerNoDecorators()
public JavaReflectorInstallerNoDecorators(String name)
public SpecificationLoaderSpi createReflector(ClassSubstitutorFactory classSubstitutorFactory, Collection<MetaModelRefiner> metaModelRefiners)
#addFacetDecoratorInstaller(ReflectorDecoratorInstaller) prior to
calling this.createReflector in interface ObjectReflectorInstallerprotected ProgrammingModel createProgrammingModel(IsisConfiguration configuration)
ProgrammingModel .
By default, looks up implementation from provided
IsisConfiguration using
ReflectorConstants.PROGRAMMING_MODEL_FACETS_CLASS_NAME. If not
specified, then defaults to
.
The list of facets can be adjusted using
ReflectorConstants.FACET_FACTORY_INCLUDE_CLASS_NAME_LIST to
specify additional factories to include, and
ReflectorConstants.FACET_FACTORY_EXCLUDE_CLASS_NAME_LIST to
exclude.
protected void includeFacetFactories(IsisConfiguration configuration, ProgrammingModel programmingModel)
createProgrammingModel(IsisConfiguration)
so that subclasses that choose to override can still support
customization of their ProgrammingModel in a similar way.protected void excludeFacetFactories(IsisConfiguration configuration, ProgrammingModel programmingModel)
createProgrammingModel(IsisConfiguration)
so that subclasses that choose to override can still support
customization of their ProgrammingModel in a similar way.protected Set<FacetDecorator> createFacetDecorators(IsisConfiguration configuration)
FacetDecorators.protected MetaModelValidator createMetaModelValidator(IsisConfiguration configuration)
MetaModelValidator.
By default, looks up implementation from provided
IsisConfiguration using
ReflectorConstants.META_MODEL_VALIDATOR_CLASS_NAME. If not
specified, then defaults to
.
public void addFacetDecoratorInstaller(FacetDecoratorInstaller decoratorInstaller)
FacetDecoratorInstaller; if null or if already
added then request will be silently ignored.addFacetDecoratorInstaller in interface ObjectReflectorInstallerCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.