org.apache.juddi.registry
Class RegistryServlet

java.lang.Object
  extended by HttpServlet
      extended by org.apache.juddi.registry.RegistryServlet

public class RegistryServlet
extends 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)

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(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 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(ServletConfig config)
          throws ServletException
Create the shared instance of jUDDI's Registry class and call it's "init()" method to initialize all core components.

Throws:
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 © 2004-2007. All Rights Reserved.