org.ignition.blojsom.extension.blojsim
Class BlojsimJabberServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.ignition.blojsom.extension.blojsim.BlojsimBaseServlet
              extended byorg.ignition.blojsom.extension.blojsim.BlojsimJabberServlet
All Implemented Interfaces:
BlojsimConstants, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class BlojsimJabberServlet
extends BlojsimBaseServlet
implements BlojsimConstants

Blojsim Servlet for Jabber Instant Messenger This servlet uses the SMACK Library (http://jivesoftware.com/xmpp/smack) written by Paul Wilkinson SMACK! is under an Apache License Visit http://www.jabber.org for more info on Jabber Instant Messenger

Version:
$Id: BlojsimJabberServlet.java,v 1.18 2003/05/11 16:12:05 intabulas Exp $
Author:
Mark Lussier
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ignition.blojsom.extension.blojsim.BlojsimBaseServlet
_blog, _bloghome, _categories, _defaultcategory, _posterhash, _subject, BLOJSIM_CONFIRMATION, NULL_SUBJECT
 
Fields inherited from interface org.ignition.blojsom.extension.blojsim.BlojsimConstants
AIM_ENTRY_FOOTER, AIM_PASSWORD, AIM_SERVER, AIM_SERVER_PORT, AIM_USERID, BLOJSIM_CONFIGURATION, COMMENTED_LINE, DEFAULT_AIM_SERVER, DEFAULT_AIM_SERVER_PORT, DEFAULT_BLOJSIM_CONFIGURATION, DEFAULT_JABBER_SERVER, JABBER_ENTRY_FOOTER, JABBER_PASSWORD, JABBER_SERVER, JABBER_USERID, MSN_ENTRY_FOOTER, MSN_PASSWORD, MSN_USERID, PROTOCOL_AIM, PROTOCOL_JABBER, PROTOCOL_MSN
 
Constructor Summary
BlojsimJabberServlet()
          Create a new blojsom-jabber servlet instance
 
Method Summary
 void configureJabber(javax.servlet.ServletContext context)
          Process Jabber portions of the Configuration File
 void destroy()
          Called when removing the servlet from the servlet container
 void init(javax.servlet.ServletConfig servletConfig)
          Initialize blojsom: configure blog, configure flavors, configure dispatchers
 
Methods inherited from class org.ignition.blojsom.extension.blojsim.BlojsimBaseServlet
configureBlojsim, configureValidPosters, doGet, getConfiguration, getEntryFilename, getEntryFooter, getEntryTimestamp, processBlojsomCongfiguration, writeEntryToFile
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, 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

BlojsimJabberServlet

public BlojsimJabberServlet()
Create a new blojsom-jabber servlet instance

Method Detail

destroy

public void destroy()
Called when removing the servlet from the servlet container

Specified by:
destroy in interface javax.servlet.Servlet

configureJabber

public void configureJabber(javax.servlet.ServletContext context)
Process Jabber portions of the Configuration File

Parameters:
context - The ServletContext

init

public void init(javax.servlet.ServletConfig servletConfig)
          throws javax.servlet.ServletException
Initialize blojsom: configure blog, configure flavors, configure dispatchers

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class BlojsimBaseServlet
Parameters:
servletConfig - Servlet configuration information
Throws:
javax.servlet.ServletException - If there is an error initializing blojsom