org.ignition.blojsom.extension.blojsim
Class BlojsimMSNServlet

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.BlojsimMSNServlet
All Implemented Interfaces:
BlojsimConstants, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class BlojsimMSNServlet
extends BlojsimBaseServlet

Blojsim Servlet for MSN Instant Messenger This servlet uses the JMSN Library (http://jmsn.sf.net) written by Jangho Hwang JMSN is under a BSD License Visit http://messenger.microsoft.com for more info on Microsoft Instant Messenger

Version:
$Id: BlojsimMSNServlet.java,v 1.8 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
BlojsimMSNServlet()
          Create a new blojsom-jabber servlet instance
 
Method Summary
 void configureMSN(javax.servlet.ServletContext context)
          Process MSN 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

BlojsimMSNServlet

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

Method Detail

destroy

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


configureMSN

public void configureMSN(javax.servlet.ServletContext context)
Process MSN 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