eu.emi.dsr
Class DSRServer

java.lang.Object
  extended by eu.emi.dsr.DSRServer

public class DSRServer
extends Object

The main class for starting the server

Author:
a.memon

Constructor Summary
DSRServer(Configuration conf)
           
DSRServer(String path)
           
 
Method Summary
 void addParentDSR()
           
 String getBaseUrl()
           
static Configuration getConfiguration()
           
static String getProperty(String key)
           
static String getProperty(String key, String defaultValue)
           
static Date getRunningSince()
           
static ISecurityProperties getSecurityProperties()
           
 org.eclipse.jetty.server.Server getServer()
           
 boolean isStarted()
           
static void main(String... args)
           
 void setStarted(boolean started)
           
 void startGSRFunctions()
           
 void startJetty()
           
 void stopJetty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSRServer

public DSRServer(String path)
Parameters:
path - configuration file

DSRServer

public DSRServer(Configuration conf)
Parameters:
conf -
Method Detail

getSecurityProperties

public static ISecurityProperties getSecurityProperties()

isStarted

public boolean isStarted()

setStarted

public void setStarted(boolean started)

startJetty

public void startJetty()

getProperty

public static String getProperty(String key)

getProperty

public static String getProperty(String key,
                                 String defaultValue)

getServer

public org.eclipse.jetty.server.Server getServer()

stopJetty

public void stopJetty()

getBaseUrl

public String getBaseUrl()

getConfiguration

public static Configuration getConfiguration()

main

public static void main(String... args)

getRunningSince

public static Date getRunningSince()

addParentDSR

public void addParentDSR()

startGSRFunctions

public void startGSRFunctions()


Copyright © 2012. All Rights Reserved.