com.retrogui.messageserver.server
Class AbstractServerApplicationFactory

java.lang.Object
  extended bycom.retrogui.messageserver.server.AbstractServerApplicationFactory
Direct Known Subclasses:
DualRpcServerApplicationFactory

public abstract class AbstractServerApplicationFactory
extends java.lang.Object

Class


Constructor Summary
AbstractServerApplicationFactory(java.lang.Object configurationObject)
          Creates a new AbstractServerApplicationFactory object.
 
Method Summary
abstract  AbstractServerApplication getApplication(Session session)
          factory method.
protected  java.lang.Object getConfigurationObject()
          getter
 MessageServer getMessageServer()
          getter
 void setMessageServer(MessageServer server)
          setter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractServerApplicationFactory

public AbstractServerApplicationFactory(java.lang.Object configurationObject)
Creates a new AbstractServerApplicationFactory object.

Parameters:
configurationObject - DOCUMENT ME!
Method Detail

getApplication

public abstract AbstractServerApplication getApplication(Session session)
                                                  throws ApplicationFactoryException
factory method. your implementation should create an application and set the message server, session and configuration object in the application constructor

Parameters:
session -
Returns:
Throws:
ApplicationFactoryException
See Also:

getConfigurationObject

protected java.lang.Object getConfigurationObject()
getter

Returns:
configurationObject

getMessageServer

public MessageServer getMessageServer()
getter

Returns:

setMessageServer

public void setMessageServer(MessageServer server)
setter

Parameters:
server -