es.upv.dsic.gti_ia.organization
Class Configuration

java.lang.Object
  extended by es.upv.dsic.gti_ia.organization.Configuration

public class Configuration
extends Object

This class reads the contents of Settings.xml file that found in the configuration directory


Method Summary
static Configuration getConfiguration()
          This method returns the instance configuration using singleton
 String getdatabaseName()
          Name of the database
 String getdatabasePassword()
          User password of the database
 String getdatabaseServer()
          Name of the database server
 String getdatabaseUser()
          User name of the database
 boolean getIsTomcat()
          If TOMCAT is active
 String getjenadbDriver()
          Diver of jena database
 String getjenadbType()
          Type of jena database
 String getjenadbURL()
          Jena database URL
 String getOMSServiceDescriptionLocation()
          Full path where are the owl's deployed the services of the OMS
 String getOS()
          Path where the TOMCAT is located
 String getPathTomcat()
          Path where the TOMCAT is located
 String getqpidHost()
          Qpid host
 String getqpidPassword()
          Qpid user password
 int getqpidPort()
          Qpid port
 String getqpidsaslMechs()
          Qpid sasl Mechs
 boolean getqpidSSL()
          Qpid ssl
 String getqpidUser()
          Qpid user
 String getqpidVhost()
          Virtual Qpid host
 String getSFServiceDescriptionLocation()
          Full path where are the owl's deployed the services of the SF
 boolean isSecureMode()
          If the platform is in secure mode or not
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isSecureMode

public boolean isSecureMode()
If the platform is in secure mode or not

Returns:
isSecure

getOS

public String getOS()
Path where the TOMCAT is located

Returns:

getPathTomcat

public String getPathTomcat()
Path where the TOMCAT is located

Returns:

getIsTomcat

public boolean getIsTomcat()
If TOMCAT is active

Returns:

getdatabaseServer

public String getdatabaseServer()
Name of the database server

Returns:
serverName ex. localhost

getdatabaseName

public String getdatabaseName()
Name of the database

Returns:
databaseName

getdatabaseUser

public String getdatabaseUser()
User name of the database

Returns:
userName

getdatabasePassword

public String getdatabasePassword()
User password of the database

Returns:
password

getOMSServiceDescriptionLocation

public String getOMSServiceDescriptionLocation()
Full path where are the owl's deployed the services of the OMS

Returns:
OMSServiceDescriptionLocation

getSFServiceDescriptionLocation

public String getSFServiceDescriptionLocation()
Full path where are the owl's deployed the services of the SF

Returns:
SFServiceDesciptionLocation

getqpidHost

public String getqpidHost()
Qpid host

Returns:
qpidHost

getConfiguration

public static Configuration getConfiguration()
This method returns the instance configuration using singleton

Returns:
configuration

getqpidPort

public int getqpidPort()
Qpid port

Returns:
port

getqpidVhost

public String getqpidVhost()
Virtual Qpid host

Returns:
Virtual host

getqpidUser

public String getqpidUser()
Qpid user

Returns:
user

getqpidPassword

public String getqpidPassword()
Qpid user password

Returns:
password

getqpidSSL

public boolean getqpidSSL()
Qpid ssl

Returns:
SSl

getqpidsaslMechs

public String getqpidsaslMechs()
Qpid sasl Mechs


getjenadbURL

public String getjenadbURL()
Jena database URL

Returns:
URL

getjenadbType

public String getjenadbType()
Type of jena database

Returns:
type

getjenadbDriver

public String getjenadbDriver()
Diver of jena database

Returns:
driver


Copyright © 2012 GTI-IA. All Rights Reserved.