jas.bean
Interface PageContextHook
- All Known Implementing Classes:
- CommandButton, GCButton, Plot, XMLPlot
- public interface PageContextHook
A bean within a JAS HTML page should implement this interface if it wants to be able to
interact with the JAS enviroment, or with other beans on the same page.
Method Summary |
void |
destroy()
Called by the JAS framework when the page containing the bean is no longer active |
void |
init(PageContext context)
Called by the JAS framework after the bean is created. |
init
public void init(PageContext context)
throws java.lang.Exception
- Called by the JAS framework after the bean is created.
The bean is allowed to throw an exception if it cannot initialize itself.
destroy
public void destroy()
- Called by the JAS framework when the page containing the bean is no longer active