public class FedSystemProperties extends FedLibSystemProperties
systemConfigProps
Constructor and Description |
---|
FedSystemProperties()
Creates a new instance of
FedSystemProperties |
Modifier and Type | Method and Description |
---|---|
String |
get(String key)
Returns system properties.
|
Collection |
getServerList()
Returns server list.
|
Collection |
getServiceAllURLs(String serviceName)
Returns service all url list.
|
URL |
getServiceURL(String serviceName,
String protocol,
String hostname,
int port,
String uri)
Returns the URL of the specified service on the specified host.
|
getOrDefault, initializeProperties, initializeProperties
public FedSystemProperties()
FedSystemProperties
public String get(String key)
get
in interface ISystemProperties
get
in class FedLibSystemProperties
key
- Key to the properties.public Collection getServerList() throws Exception
getServerList
in interface ISystemProperties
getServerList
in class FedLibSystemProperties
Exception
- if server list cannot be returned.public URL getServiceURL(String serviceName, String protocol, String hostname, int port, String uri) throws Exception
getServiceURL
in interface ISystemProperties
getServiceURL
in class FedLibSystemProperties
serviceName
- The name of the service.protocol
- The service protocol.hostname
- The service host name.port
- The service listening port.uri
- The service URI.Exception
- if the URL could not be found.public Collection getServiceAllURLs(String serviceName) throws Exception
getServiceAllURLs
in interface ISystemProperties
getServiceAllURLs
in class FedLibSystemProperties
Exception
- if server list cannot be returned.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.