站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

ServerConfig - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.server.config
Interface ServerConfig

All Known Implementing Classes:
ServerConfigService

public interface ServerConfig

The server configuration.


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

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

getDomain

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

Returns:
the portal server domain.

getProperty

public 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

public 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