public class AutoConfigurationService extends Object
Constructor and Description |
---|
AutoConfigurationService() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
static InvokerLocator |
createLocator(String url) |
static InvokerLocator |
createLocator(String host,
int port) |
static InvokerLocator |
createLocator(String protocol,
String host,
int port) |
static InvokerLocator |
createLocator(String protocol,
String host,
int port,
String path) |
static InvokerLocator |
createLocator(String protocol,
String host,
int port,
String path,
Map<String,String> params) |
ServerConfiguration |
getServerConfiguration()
Gets the currently connected e server config.
|
Version |
getVersion() |
void |
load(InvokerLocator locator) |
void |
load(String uri) |
void |
load(String host,
int port) |
void |
load(String protocol,
String host,
int port) |
static Properties |
readJndiProperties(Properties properties) |
public Version getVersion()
public void clear()
public void load(InvokerLocator locator) throws Exception
Exception
public ServerConfiguration getServerConfiguration()
public static Properties readJndiProperties(Properties properties)
public static InvokerLocator createLocator(String url) throws MalformedURLException
MalformedURLException
public static InvokerLocator createLocator(String host, int port)
public static InvokerLocator createLocator(String protocol, String host, int port)
public static InvokerLocator createLocator(String protocol, String host, int port, String path)
Copyright © 2011 Nuxeo SA. All Rights Reserved.