echoxul.view
Interface View

All Known Implementing Classes:
ViewImpl

public interface View

A View is the top of the containment hierarchy for ViewContexts. Note that due to external loading, not all ViewContexts in the hierarchy will necessarily reference this View as their own.

The View can be thought of as a factory for creating the root ViewContext. The single View instance is shared at the web app level, whereas a ViewContext is tied to a single Session.

Author:
Terry Laurenzo

Method Summary
 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
 

Method Detail

getViewClassLoader

public java.lang.ClassLoader getViewClassLoader()
The ClassLoader used to load objects for the View

Returns:
ClassLoader

instantiateRootContext

public ViewContext instantiateRootContext()
Instantiate a new Root ViewContext

Returns:
new ViewContext

getStaticReference

public java.lang.Object getStaticReference(int index)
Used by components to retrieve static data that is shared across all sessions. This is the same index assigned at creation time.

Parameters:
index -
Returns:


Copyright © 2004 Terry Laurenzo. All Rights Reserved.