| java.lang.Object org.apache.openejb.webadmin.httpd.DefaultHttpBean
DefaultHttpBean | public class DefaultHttpBean implements HttpBean(Code) | | This is a webadmin bean which has default functionality such as genderating
error pages and setting page content.
author: David Blevins |
do404 | public void do404(HttpRequest request, HttpResponse response)(Code) | | Creates a "Page not found" error screen
Parameters: request - the HTTP request object Parameters: response - the HTTP response object |
do500 | public void do500(HttpRequest request, HttpResponse response, String message)(Code) | | Creates and "Internal Server Error" page
Parameters: request - the HTTP request object Parameters: response - the HTTP response object Parameters: message - the message to be sent back to the browser |
ejbActivate | public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException(Code) | | called on a stateful sessionbean after the bean is
deserialized from storage and put back into use.
throws: javax.ejb.EJBException - if an exeption is thrown throws: java.rmi.RemoteException - if an exception is thrown |
ejbCreate | public void ejbCreate()(Code) | | Creates a new instance
|
ejbPassivate | public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException(Code) | | called on a stateful sessionbean before the bean is
removed from memory and serialized to a temporary store.
This method is never called on a stateless sessionbean
throws: javax.ejb.EJBException - if an exception is thrown throws: java.rmi.RemoteException - if an exception is thrown |
ejbRemove | public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException(Code) | | called by the ejb container when this bean is about to be garbage collected
throws: javax.ejb.EJBException - if an exception is thrown throws: java.rmi.RemoteException - if an exception is thrown |
setSessionContext | public void setSessionContext(javax.ejb.SessionContext sessionContext) throws javax.ejb.EJBException, java.rmi.RemoteException(Code) | | sets the session context for this bean
Parameters: sessionContext - the session context to be set throws: javax.ejb.EJBException - if an exception is thrown throws: java.rmi.RemoteException - if an exception is thrown |
|
|