amber.server.manager
Class AmberServer

java.lang.Object
  |
  +--amber.server.manager.AmberServer

public class AmberServer
extends java.lang.Object

This is the main Amber Server application. This program takes the incoming socket connections and matches it to the corresponding ApplicationHandler class. The ApplicationHandler class was given to it by an RMI member function call.

See Also:
ApplicationHandler

Field Summary
 DatabaseManager dbManager
           
static java.lang.String header
           
 PropertiesHandler properties
           
static java.lang.String propertyFilename
           
protected  Core rmiImplementation
           
protected  java.lang.Thread rmiImplementationThread
           
protected  java.lang.String serverName
           
static java.lang.String version
           
 
Constructor Summary
AmberServer()
           
 
Method Summary
protected  java.lang.String addServerConnectionPool(DatabaseManager dbManager)
           
protected  java.lang.String getParameter(java.lang.String tagName, java.lang.String defaultString)
          This function is used to get the parameters from the property file.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static final java.lang.String version

header

public static final java.lang.String header

propertyFilename

public static java.lang.String propertyFilename

serverName

protected java.lang.String serverName

rmiImplementation

protected Core rmiImplementation

rmiImplementationThread

protected java.lang.Thread rmiImplementationThread

properties

public PropertiesHandler properties

dbManager

public DatabaseManager dbManager
Constructor Detail

AmberServer

public AmberServer()
            throws java.lang.Exception
Method Detail

addServerConnectionPool

protected java.lang.String addServerConnectionPool(DatabaseManager dbManager)

getParameter

protected java.lang.String getParameter(java.lang.String tagName,
                                        java.lang.String defaultString)
This function is used to get the parameters from the property file.
Parameters:
tagName - String containing the property to fetch.
defaultString - String containing the default to return if there is no property.
Returns:
String containing the tag value.

main

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


Copyright © 2002 Clearfield Research Ltd. All Rights Reserved.