|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.config.Configuration
public class Configuration
Nuxeo Runtime Configurator.
Loads configuration from a remote server and configure the local runtime instance. Configuration includes:
Field Summary | |
---|---|
static int |
APPEND
|
static int |
IGNORE
|
static int |
REPLACE
|
static int |
RESET
|
Constructor Summary | |
---|---|
Configuration()
|
Method Summary | |
---|---|
String |
getDescription()
Gets the description of the remote server. |
String |
getName()
Gets the name of the remote server. |
Properties |
getProperties()
Gets the remote server properties. |
int |
getUpdateBindingsOption()
|
int |
getUpdateLoginOption()
|
int |
getUpdateServersOption()
|
int |
getUpdateStreamingOption()
|
void |
load(String uri)
Loads the configuration from a remote server given its address as an URI. |
void |
load(String host,
int port)
Loads the configuration from a remote server given its host and port. |
void |
setBindingsUpdateOption(int updateBindingsOption)
|
void |
setLoginUpdateOption(int updateLoginOption)
|
void |
setServersUpdateOption(int updateServersOption)
|
void |
setUpdateStreamingOption(int updateStreamingOption)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int IGNORE
public static final int APPEND
public static final int REPLACE
public static final int RESET
Constructor Detail |
---|
public Configuration()
Method Detail |
---|
public String getName()
This information is available only after
load(String, int)
method was called
public String getDescription()
This information is available only after
load(String, int)
method was called.
public Properties getProperties()
This information is available only after
load(String, int)
method was called.
public void setBindingsUpdateOption(int updateBindingsOption)
public void setLoginUpdateOption(int updateLoginOption)
public void setServersUpdateOption(int updateServersOption)
public void setUpdateStreamingOption(int updateStreamingOption)
public int getUpdateBindingsOption()
public int getUpdateLoginOption()
public int getUpdateServersOption()
public int getUpdateStreamingOption()
public void load(String uri) throws Exception
URIs are in JBoss remoting format. Example: socket://localhost:62474/nxruntime
uri
- the URI
Exception
public void load(String host, int port) throws Exception
host
- the hostport
- the port
Exception
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |