package jas2.bean;
/**
* 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.
*/
public interface PageContextHook
{
/**
* Called by the JAS framework after the bean is created.
* The bean is allowed to throw an exception if it cannot initialize itself.
*/
void init(PageContext context) throws Exception;
/**
* Called by the JAS framework when the page containing the bean is no longer active
*/
void destroy();
}
Ads help maintain this website.