public abstract class RuntimeContextAbstract extends Object implements RuntimeContext, SpecificationLoaderSpiAware, DomainObjectContainerAware
RuntimeContext.TransactionState| Constructor and Description |
|---|
RuntimeContextAbstract() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.isis.applib.DomainObjectContainer |
getContainer() |
String |
getProperty(String name) |
List<String> |
getPropertyNames() |
SpecificationLoader |
getSpecificationLoader() |
void |
init()
Indicates to the component that it is to initialise itself.
|
void |
injectInto(Object candidate)
Will inject itself into the candidate if the candidate implements the
corresponding *Aware type.
|
protected void |
injectSubcomponentsInto(Object candidate) |
void |
setContainer(org.apache.isis.applib.DomainObjectContainer container)
So that
#injectServicesInto(Object) can also inject the
DomainObjectContainer. |
void |
setProperties(Properties properties) |
void |
setSpecificationLoaderSpi(SpecificationLoaderSpi specificationLoader)
Is injected into when the reflector is
initialized. |
void |
shutdown()
Indicates to the component that it will no longer be used and should shut
itself down cleanly.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdapterManager, getAuthenticationSessionProvider, getDependencyInjector, getDeploymentCategory, getDomainObjectServices, getLocalizationProvider, getObjectDirtier, getObjectInstantiator, getObjectPersistor, getQuerySubmitter, getServicesProvider, getTransactionStatepublic RuntimeContextAbstract()
public void init()
ApplicationScopedComponentinit in interface ApplicationScopedComponentpublic void shutdown()
ApplicationScopedComponentshutdown in interface ApplicationScopedComponentpublic void injectInto(Object candidate)
InjectableinjectInto in interface Injectableprotected void injectSubcomponentsInto(Object candidate)
public SpecificationLoader getSpecificationLoader()
getSpecificationLoader in interface RuntimeContextpublic void setSpecificationLoaderSpi(SpecificationLoaderSpi specificationLoader)
initialized.setSpecificationLoaderSpi in interface SpecificationLoaderSpiAwareprotected org.apache.isis.applib.DomainObjectContainer getContainer()
public void setContainer(org.apache.isis.applib.DomainObjectContainer container)
#injectServicesInto(Object) can also inject the
DomainObjectContainer.setContainer in interface RuntimeContextsetContainer in interface DomainObjectContainerAwarepublic void setProperties(Properties properties)
public String getProperty(String name)
public List<String> getPropertyNames()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.