|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectechoxul.view.impl.ViewImpl
Implementation of the View interface for the builder package. The mutator methods on this class are package private.
Constructor Summary | |
ViewImpl(java.lang.ClassLoader cl)
|
Method Summary | |
int |
addStaticReference(java.lang.Object obj)
Set the static references. |
protected void |
assertWriteable()
Throws IllegalStateException if lock() has been called |
ModelViewContextStub |
createModelViewContextStub(ViewContextImpl vc,
nextapp.echo.Component insertionPoint)
Create a ViewContextStub from a ViewContext, storing the serialized data in the static references. |
ViewContextStub |
createViewContextStub(ViewContextImpl vc)
Create a ViewContextStub from a ViewContext, storing the serialized data in the static references. |
java.lang.Object |
getStaticReference(int index)
Used by components to retrieve static data that is shared across all sessions. |
java.lang.ClassLoader |
getViewClassLoader()
The ClassLoader used to load objects for the View |
ViewContext |
instantiateRootContext()
Instantiate a new Root ViewContext |
void |
lock()
|
void |
setRootStub(ViewContextStub stub)
Set the root context stub. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ViewImpl(java.lang.ClassLoader cl)
Method Detail |
protected void assertWriteable()
public void lock()
public int addStaticReference(java.lang.Object obj)
public ModelViewContextStub createModelViewContextStub(ViewContextImpl vc, nextapp.echo.Component insertionPoint) throws ViewException
vc
-
ViewException
public ViewContextStub createViewContextStub(ViewContextImpl vc) throws ViewException
vc
-
ViewException
public void setRootStub(ViewContextStub stub)
stub
- public java.lang.ClassLoader getViewClassLoader()
View
getViewClassLoader
in interface View
public ViewContext instantiateRootContext()
View
instantiateRootContext
in interface View
public java.lang.Object getStaticReference(int index)
View
getStaticReference
in interface View
index
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |