org.apache.juddi.registry
Class RegistryServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.apache.juddi.registry.RegistryServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RegistryServlet
extends javax.servlet.http.HttpServlet

This servlet is ONLY used to initialize the jUDDI webapp on startup and cleanup the jUDDI webapp on shutdown.

Author:
Steve Viens (sviens@apache.org)
See Also:
Serialized Form

Constructor Summary
RegistryServlet()
           
 
Method Summary
 void destroy()
          Grab the shared instance of jUDDI's Registry class and call it's "dispose()" method to notify all sub-components to stop any background threads and release any external resources they may have aquired.
static RegistryEngine getRegistry()
           
 void init(javax.servlet.ServletConfig config)
          Create the shared instance of jUDDI's Registry class and call it's "init()" method to initialize all core components.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryServlet

public RegistryServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Create the shared instance of jUDDI's Registry class and call it's "init()" method to initialize all core components.

Throws:
javax.servlet.ServletException

destroy

public void destroy()
Grab the shared instance of jUDDI's Registry class and call it's "dispose()" method to notify all sub-components to stop any background threads and release any external resources they may have aquired.


getRegistry

public static RegistryEngine getRegistry()


Copyright ? 2003 Apache Software Foundation. All rights reserved.