public class ClientConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_UDDI_CONFIG |
static String |
UDDI_CONFIG_FILENAME_PROPERTY |
Constructor and Description |
---|
ClientConfig(String configurationFile)
Constructor (note Singleton pattern).
|
ClientConfig(String configurationFile,
Properties properties)
Constructor (note Singleton pattern).
|
Modifier and Type | Method and Description |
---|---|
void |
addUDDINode(UDDINode node)
adds a new node to the client configuration section.
|
String |
getClientCallbackUrl()
Deprecated.
|
String |
getClientName() |
org.apache.commons.configuration.Configuration |
getConfiguration() |
String |
getConfigurationFile() |
Properties |
getDigitalSignatureConfiguration()
Fetches all digital signature related properties for the digital
signature utility.
|
UDDINode |
getHomeNode() |
Map<String,UDDIClerk> |
getUDDIClerks() |
UDDINode |
getUDDINode(String nodeName)
returns the named uddi node from config or throws if one is not found
|
List<org.apache.juddi.api_v3.Node> |
getUDDINodeList()
gets the current configuration's node list Only a copy of these
values are returned
|
protected Map<String,UDDINode> |
getUDDINodes() |
Set<XRegistration> |
getXBusinessRegistrations() |
Set<XRegistration> |
getXServiceBindingRegistrations() |
boolean |
isRegisterOnStartup()
signals that the specified classes/wsdls are registered with the UDDI
server when UDDIClient.start() is called
client.clerks[@registerOnStartup]
|
boolean |
isX_To_Wsdl_Ignore_SSL_Errors()
Used for WADL/WSDL to WSDL
|
protected void |
readConfig(Properties properties) |
void |
removeUDDINode(String name)
removes the named node from the client configuration section.
|
void |
saveConfig()
Attempts to save any changes made to the configuration back to disk
Revised in 3.2.1 to reconstruct the file from the in memory data
structure, enable you to programmatically add nodes.
|
void |
saveConfigRaw()
Use this method to attempt to save the jUDDI configuration file after
you've modified it using the Apache Commons Configuration settings.
|
public static final String UDDI_CONFIG_FILENAME_PROPERTY
public static final String DEFAULT_UDDI_CONFIG
public ClientConfig(String configurationFile) throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public ClientConfig(String configurationFile, Properties properties) throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public void saveConfig() throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public void saveConfigRaw() throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
protected void readConfig(Properties properties) throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public boolean isRegisterOnStartup()
public List<org.apache.juddi.api_v3.Node> getUDDINodeList()
public UDDINode getHomeNode() throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public UDDINode getUDDINode(String nodeName) throws org.apache.commons.configuration.ConfigurationException
nodeName
- org.apache.commons.configuration.ConfigurationException
public Set<XRegistration> getXServiceBindingRegistrations()
public Set<XRegistration> getXBusinessRegistrations()
public org.apache.commons.configuration.Configuration getConfiguration()
public String getClientName()
@Deprecated public String getClientCallbackUrl()
public String getConfigurationFile()
public boolean isX_To_Wsdl_Ignore_SSL_Errors()
public Properties getDigitalSignatureConfiguration() throws Exception
Exception
DigSigUtil
,
Properties
public void addUDDINode(UDDINode node) throws org.apache.commons.configuration.ConfigurationException
node
- org.apache.commons.configuration.ConfigurationException
public void removeUDDINode(String name) throws org.apache.commons.configuration.ConfigurationException
name
- expecting the Node name, not the "clientName"org.apache.commons.configuration.ConfigurationException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.