|
Nuxeo Enterprise Platform 5.4 | |||||||||
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 | |
---|---|
java.lang.String |
getDescription()
Gets the description of the remote server. |
java.lang.String |
getName()
Gets the name of the remote server. |
java.util.Properties |
getProperties()
Gets the remote server properties. |
int |
getUpdateBindingsOption()
|
int |
getUpdateLoginOption()
|
int |
getUpdateServersOption()
|
int |
getUpdateStreamingOption()
|
void |
load(java.lang.String uri)
Loads the configuration from a remote server given its address as an URI. |
void |
load(java.lang.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 java.lang.String getName()
This information is available only after
load(String, int)
method was called
public java.lang.String getDescription()
This information is available only after
load(String, int)
method was called.
public java.util.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(java.lang.String uri) throws java.lang.Exception
URIs are in JBoss remoting format. Example: socket://localhost:62474/nxruntime
uri
- the URI
java.lang.Exception
public void load(java.lang.String host, int port) throws java.lang.Exception
host
- the hostport
- the port
java.lang.Exception
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |