org.jivesoftware
Class SparkStartupListener

java.lang.Object
  extended by org.jivesoftware.SparkStartupListener
All Implemented Interfaces:
com.install4j.api.launcher.StartupNotification.Listener, java.util.EventListener

public class SparkStartupListener
extends java.lang.Object
implements com.install4j.api.launcher.StartupNotification.Listener

Uses the Windows registry to perform URI XMPP mappings.

Author:
Derek DeMoro

Constructor Summary
SparkStartupListener()
           
 
Method Summary
 void handleConference(java.lang.String uriMapping)
          Handles the URI Mapping to join a conference room.
 void handleJID(java.lang.String uriMapping)
          Factory method to handle different types of URI Mappings.
static void main(java.lang.String[] args)
           
 void startupPerformed(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparkStartupListener

public SparkStartupListener()
Method Detail

startupPerformed

public void startupPerformed(java.lang.String string)
Specified by:
startupPerformed in interface com.install4j.api.launcher.StartupNotification.Listener

handleJID

public void handleJID(java.lang.String uriMapping)
               throws java.lang.Exception
Factory method to handle different types of URI Mappings.

Parameters:
uriMapping - the uri mapping string.
Throws:
java.lang.Exception - thrown if an exception occurs.

handleConference

public void handleConference(java.lang.String uriMapping)
                      throws java.lang.Exception
Handles the URI Mapping to join a conference room.

Parameters:
uriMapping - the uri mapping.
Throws:
java.lang.Exception - thrown if the conference cannot be joined.

main

public static void main(java.lang.String[] args)