org.jboss.portal.server.config
Interface ServerConfig

All Known Implementing Classes:
ServerConfigService

public interface ServerConfig

The server configuration.

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
static java.lang.String DOMAIN_KEY
           
 
Method Summary
 java.lang.String getDomain()
          Return the domain of the portal server.
 java.lang.String getProperty(java.lang.String name)
          Return a property of the server configuration.
 void setProperty(java.lang.String name, java.lang.String value)
          Set a property when the value is not null or remove it when it is null.
 

Field Detail

DOMAIN_KEY

static final java.lang.String DOMAIN_KEY
See Also:
Constant Field Values
Method Detail

getDomain

java.lang.String getDomain()
Return the domain of the portal server.

Returns:
the portal server domain.

getProperty

java.lang.String getProperty(java.lang.String name)
Return a property of the server configuration.

Parameters:
name - the property name
Returns:
the property value or null if it does not exist

setProperty

void setProperty(java.lang.String name,
                 java.lang.String value)
Set a property when the value is not null or remove it when it is null.

Parameters:
name - the property name
value - the property value