message
Class MessagingFactory

java.lang.Object
  extended bymessage.MessagingFactory

public class MessagingFactory
extends java.lang.Object

Generates objects based on configuration settings in MessageConfig


Field Summary
static java.util.HashMap classes
           
 
Constructor Summary
MessagingFactory()
           
 
Method Summary
static MessageCentre getMessageCentre(java.lang.String sessionID)
          Get a message centre for the given browser session ID.
protected static java.lang.Object getNewInstance(java.lang.String name)
           
static SessionIDRetriever getSessionIDRetriever()
          Get an object to retrieve the user-session-id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classes

public static java.util.HashMap classes
Constructor Detail

MessagingFactory

public MessagingFactory()
Method Detail

getSessionIDRetriever

public static SessionIDRetriever getSessionIDRetriever()
                                                throws java.lang.ClassNotFoundException,
                                                       java.lang.InstantiationException,
                                                       java.lang.IllegalAccessException
Get an object to retrieve the user-session-id.

Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

getMessageCentre

public static MessageCentre getMessageCentre(java.lang.String sessionID)
                                      throws java.lang.ClassNotFoundException,
                                             java.lang.InstantiationException,
                                             java.lang.IllegalAccessException
Get a message centre for the given browser session ID.

Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

getNewInstance

protected static java.lang.Object getNewInstance(java.lang.String name)
                                          throws java.lang.ClassNotFoundException,
                                                 java.lang.InstantiationException,
                                                 java.lang.IllegalAccessException
Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException