|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.weborganic.bastille.pageseeder.PSConfiguration
public final class PSConfiguration
Configuration of the PageSeeder server that Bastille should use to connect.
Bastille can be configured to connect to a PageSeeder service using the properties are defined
in the config-[mode].xml
for the key "bastille.pageseeder".
To retrieve the PageSeeder server properties, use the getProperties()
.
The properties can contain the following keys:
scheme
: the scheme of the PageSeeder server (for example "http")host
: the host of the PageSeeder server (for example "localhost")port
: the port of the PageSeeder server (for example "8080")siteprefix
: the site prefix for PageSeeder server (for example "/ps")servletprefix
: the servlet prefix for the PageSeeder server (for example "/ps/servlet")For example:
Properties pageseeder = PSConfiguration.getProperties(); String host = pageseeder.getProperty("host"); String port = pageseeder.getProperty("port", 8080); ...
The Bastille-PageSeeder properties can also be accessed directly using the Berlioz global settings.
For example: GlobalSettings.get("bastille.pageseeder.host")
Field Summary | |
---|---|
static String |
BASTILLE_PAGESEEDER
The key for the location of the PageSeeder properties in the configuration. |
Method Summary | |
---|---|
static Properties |
getProperties()
Returns the configuration of the PageSeeder as a Properties instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BASTILLE_PAGESEEDER
Method Detail |
---|
public static Properties getProperties()
The properties are defined in the config-[mode].xml
using the key
"bastille.pageseeder".
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |