Adempiere 3.5.2a

org.compiere.install
Class Config

java.lang.Object
  extended by org.compiere.install.Config
Direct Known Subclasses:
ConfigJBoss, ConfigOracle, ConfigPostgreSQL, ConfigTomcat, ConfigVMMac, ConfigVMSun

public abstract class Config
extends Object

Configuration Setup and Test

Version:
$Id: Config.java,v 1.3 2006/07/30 00:57:42 jjanke Exp $
Author:
Jorg Janke

Field Summary
protected  ConfigurationData p_data
          Configuration Data
 
Constructor Summary
Config(ConfigurationData data)
          Configuration
 
Method Summary
 String[] discoverDatabases(String selected)
          Discover Databases.
 String getDatabaseName(String nativeConnectioName)
          Get real database name from native connection profile name return from discoverDatabases
protected  ConfigurationPanel getPanel()
          Get Panel
protected  String getProperty(String key)
          Get Configuration Property
protected  String getWebStores(Connection con)
          Get Web Store Context Names separared by ,
protected  void setProperty(String key, String value)
          Set Configuration Property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p_data

protected ConfigurationData p_data
Configuration Data

Constructor Detail

Config

public Config(ConfigurationData data)
Configuration

Parameters:
data - configuration
Method Detail

discoverDatabases

public String[] discoverDatabases(String selected)
Discover Databases. To be overwritten by database configs

Parameters:
selected - selected database
Returns:
array of databases

getDatabaseName

public String getDatabaseName(String nativeConnectioName)
Get real database name from native connection profile name return from discoverDatabases

Parameters:
nativeConnectioName -
Returns:
Database name

getPanel

protected ConfigurationPanel getPanel()
Get Panel

Returns:
panel

setProperty

protected void setProperty(String key,
                           String value)
Set Configuration Property

Parameters:
key - key
value - value

getProperty

protected String getProperty(String key)
Get Configuration Property

Parameters:
key - key
Returns:
value or ""

getWebStores

protected String getWebStores(Connection con)
Get Web Store Context Names separared by ,

Parameters:
con - connection
Returns:
String of Web Store Names - e.g. /wstore

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.