public class ServiceRegistry extends Object
Constructor and Description |
---|
ServiceRegistry() |
Modifier and Type | Method and Description |
---|---|
static ServiceRegistry |
getRegistry()
Get the service registry.
|
String |
getSecureServiceURI(String serviceName)
Get the secure service URI.
|
String |
getServiceURI(String serviceName)
Get the service URI.
|
String |
getServiceURI(String serviceName,
boolean isSecure)
Get the service URI.
|
void |
registerSecureServiceProvider(String serviceName,
String url)
Register the specified secure service.
|
void |
registerServiceProvider(String serviceName,
String url)
Register the specified service.
|
void |
removeSecureServiceProvider(String serviceName)
Remove the specified secure service.
|
void |
removeServiceProvider(String serviceName)
Remove the specified service.
|
public static ServiceRegistry getRegistry()
public void registerServiceProvider(String serviceName, String url)
serviceName
- The service name.url
- The service url.public void registerSecureServiceProvider(String serviceName, String url)
serviceName
- The secure service name.url
- The service url.public void removeServiceProvider(String serviceName)
serviceName
- The service name.public void removeSecureServiceProvider(String serviceName)
serviceName
- The secure service name.public String getServiceURI(String serviceName)
serviceName
- The service name.public String getSecureServiceURI(String serviceName)
serviceName
- The secure service name.Copyright © 2019 JBoss by Red Hat. All rights reserved.