public abstract class AlmDomainAdaptor extends java.lang.Object implements AlmDomain
TheAlmDomanAdaptor
is a default implemtation of AlmDomain interface, The AlmDomain interface is used for ensuring any class implementing it will be in the TPC page scope, it will synchronize the UI control and page context (through the set/getSourceComponent(), set/getRenderingContext() methods) and release of internal object states(through release() method) to prevent any possible memory leak. For details about AlmDomain, please see the AlmDomain
.
AlmDomainAdaptor provides convenient abstraction of AlmDomain interface.
Constructor and Description |
---|
AlmDomainAdaptor() |
Modifier and Type | Method and Description |
---|---|
RenderingContext |
getRenderingContext() |
AlmComponent |
getSourceComponent() |
void |
release()
Release any internal objects that the managed bean holds to prevent memory leak.
|
void |
setRenderingContext(RenderingContext rc) |
void |
setSourceComponent(AlmComponent component) |
public void setRenderingContext(RenderingContext rc)
setRenderingContext
in interface AlmScope
public RenderingContext getRenderingContext()
getRenderingContext
in interface AlmScope
public void setSourceComponent(AlmComponent component)
setSourceComponent
in interface AlmScope
public AlmComponent getSourceComponent()
getSourceComponent
in interface AlmScope