org.openanzo.server.notification.web
Class NotificationServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.openanzo.server.notification.web.NotificationServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class NotificationServlet
extends javax.servlet.http.HttpServlet

Servlet that instantiates the static NotificationServer

Author:
Matthew Roy ( mroy@cambridgesemantics.com )
See Also:
Serialized Form

Constructor Summary
NotificationServlet()
          Create a new NotificationServlet
NotificationServlet(ModelServiceApi api)
          Create a new NotificationServlet
 
Method Summary
 void init()
           
 void registerMBean(javax.management.MBeanServer mbServer, javax.management.ObjectName parentObjectName)
          Register notification server with the server
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationServlet

public NotificationServlet(ModelServiceApi api)
Create a new NotificationServlet

Parameters:
api - connection to the server services

NotificationServlet

public NotificationServlet()
Create a new NotificationServlet

Method Detail

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

registerMBean

public void registerMBean(javax.management.MBeanServer mbServer,
                          javax.management.ObjectName parentObjectName)
Register notification server with the server

Parameters:
mbServer - mbean server to register with
parentObjectName - location in hierarchy to register bean


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.