public class IsisMetaModel extends Object implements ApplicationScopedComponent
Currently this is not used by Isis proper, but is available for use by integration tests. The intention is to factor it into IsisSystem.
| Modifier and Type | Class and Description |
|---|---|
static class |
IsisMetaModel.Builder |
| Constructor and Description |
|---|
IsisMetaModel(RuntimeContext runtimeContext,
ProgrammingModel programmingModel,
List<Object> services) |
IsisMetaModel(RuntimeContext runtimeContext,
ProgrammingModel programmingModel,
Object... services) |
| Modifier and Type | Method and Description |
|---|---|
static IsisMetaModel.Builder |
builder(RuntimeContext runtimeContext,
ProgrammingModel programmingModel) |
ClassSubstitutor |
getClassSubstitutor()
The
ClassSubstitutor in force, either defaulted or specified
explicitly. |
CollectionTypeRegistry |
getCollectionTypeRegistry()
The
CollectionTypeRegistry in force, either defaulted or
specified explicitly. |
IsisConfiguration |
getConfiguration()
The
IsisConfiguration in force, either defaulted or specified
explicitly. |
ServicesInjector |
getDependencyInjector()
Available once
initialized. |
org.apache.isis.applib.DomainObjectContainer |
getDomainObjectContainer()
Available once
initialized. |
Set<FacetDecorator> |
getFacetDecorators()
The
FacetDecorators in force, either defaulted or specified
explicitly. |
MetaModelValidator |
getMetaModelValidator()
The
MetaModelValidator in force, either defaulted or specified
explicitly. |
ProgrammingModel |
getProgrammingModelFacets()
The
ProgrammingModel in force, either defaulted or specified
explicitly. |
List<Object> |
getServices()
The list of classes representing services, as specified in the
constructor. |
SpecificationLoaderSpi |
getSpecificationLoader()
Available once
initialized. |
SpecificationTraverser |
getSpecificationTraverser()
The
SpecificationTraverser in force, either defaulted or
specified explicitly. |
ValidationFailures |
getValidationFailures() |
void |
init()
Indicates to the component that it is to initialise itself.
|
void |
setClassSubstitutor(ClassSubstitutor classSubstitutor)
Optionally specify the
ClassSubstitutor. |
void |
setCollectionTypeRegistry(CollectionTypeRegistry collectionTypeRegistry)
Optionally specify the
CollectionTypeRegistry. |
void |
setConfiguration(IsisConfiguration configuration)
Optionally specify the
IsisConfiguration. |
void |
setFacetDecorators(Set<FacetDecorator> facetDecorators)
Optionally specify the
FacetDecorators. |
void |
setMetaModelValidator(MetaModelValidator metaModelValidator)
Optionally specify the
MetaModelValidator. |
void |
setProgrammingModelFacets(ProgrammingModel programmingModel)
Optionally specify the
ProgrammingModel. |
void |
setSpecificationTraverser(SpecificationTraverser specificationTraverser)
Optionally specify the
SpecificationTraverser. |
void |
shutdown()
Indicates to the component that it will no longer be used and should shut
itself down cleanly.
|
public IsisMetaModel(RuntimeContext runtimeContext, ProgrammingModel programmingModel, List<Object> services)
public IsisMetaModel(RuntimeContext runtimeContext, ProgrammingModel programmingModel, Object... services)
public static IsisMetaModel.Builder builder(RuntimeContext runtimeContext, ProgrammingModel programmingModel)
public List<Object> getServices()
constructor.
To obtain the instantiated services, use the
ServicesInjector.getRegisteredServices() (available from
#getServicesInjector()).
public void init()
ApplicationScopedComponentinit in interface ApplicationScopedComponentpublic ValidationFailures getValidationFailures()
public void shutdown()
ApplicationScopedComponentshutdown in interface ApplicationScopedComponentpublic SpecificationLoaderSpi getSpecificationLoader()
initialized.public org.apache.isis.applib.DomainObjectContainer getDomainObjectContainer()
initialized.public ServicesInjector getDependencyInjector()
initialized.public IsisConfiguration getConfiguration()
IsisConfiguration in force, either defaulted or specified
explicitly.public void setConfiguration(IsisConfiguration configuration)
IsisConfiguration.
Call prior to init().
public ClassSubstitutor getClassSubstitutor()
ClassSubstitutor in force, either defaulted or specified
explicitly.public void setClassSubstitutor(ClassSubstitutor classSubstitutor)
ClassSubstitutor.
Call prior to init().
public CollectionTypeRegistry getCollectionTypeRegistry()
CollectionTypeRegistry in force, either defaulted or
specified explicitly.public void setCollectionTypeRegistry(CollectionTypeRegistry collectionTypeRegistry)
CollectionTypeRegistry.
Call prior to init().
public SpecificationTraverser getSpecificationTraverser()
SpecificationTraverser in force, either defaulted or
specified explicitly.public void setSpecificationTraverser(SpecificationTraverser specificationTraverser)
SpecificationTraverser.public ProgrammingModel getProgrammingModelFacets()
ProgrammingModel in force, either defaulted or specified
explicitly.public void setProgrammingModelFacets(ProgrammingModel programmingModel)
ProgrammingModel.
Call prior to init().
public Set<FacetDecorator> getFacetDecorators()
FacetDecorators in force, either defaulted or specified
explicitly.public void setFacetDecorators(Set<FacetDecorator> facetDecorators)
FacetDecorators.
Call prior to init().
public MetaModelValidator getMetaModelValidator()
MetaModelValidator in force, either defaulted or specified
explicitly.public void setMetaModelValidator(MetaModelValidator metaModelValidator)
MetaModelValidator.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.