package jas2.bean;
/**
* A simple mechanism to allow beans within an HTML page within JAS to locate other
* beans on the same page and to interact with the JAS enviroment. An embedded bean
* must implement PageContextHook to be able to access this information.
*/
public interface PageContext
{
/**
* Locate an object on the current page by name
*/
Object getBean(String name);
/**
* Get an enumeration of all the objects on the current page
*/
java.util.Enumeration getBeans();
/**
* Requests that the argument string be displayed in the "status window".
*/
void showStatus(String message);
/**
* Replaces the Web page currently being viewed with the given URL
*/
void showDocument(java.net.URL url);
/**
* Get the base URL of the current page
*/
java.net.URL getDocumentBase();
}
Ads help maintain this website.