|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.connections.spi.service.ServiceHelper
public class ServiceHelper
This SPI provides detail about the configured services in Lotus Connections and utility methods to interact with those services. This is a singleton class.
| Method Summary | |
|---|---|
java.net.URL |
buildInterServiceURLFromPath(Service service,
java.lang.String path)
Creates a fully qualified URL to the provided resource path, using the specified service. |
java.net.URL |
buildURLFromPath(Service service,
java.lang.String path,
boolean secure)
Creates a fully qualified URL to the provided resource path, using the specified service. |
java.util.Collection<Service> |
getEnabledServices()
Returns the collection of the enabled services in this deployment. |
java.util.Collection<Service> |
getInstalledServices()
Returns the collection of installed services in this deployment. |
static ServiceHelper |
INSTANCE()
Singleton accessor method |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ServiceHelper INSTANCE()
public java.util.Collection<Service> getInstalledServices()
public java.util.Collection<Service> getEnabledServices()
enabled or sslEnabled attributes is true.
public java.net.URL buildInterServiceURLFromPath(Service service,
java.lang.String path)
throws ServiceNotAvailableException
service - the servicepath - the path
java.lang.IllegalArgumentException - if path is null, or if service name is null/emtpy and the path
does not contain a service placeholder
ServiceNotAvailableException - if the service name specified by the service parameter
or overridden by the service placeholder is not enabled
public java.net.URL buildURLFromPath(Service service,
java.lang.String path,
boolean secure)
throws ServiceNotAvailableException
service - the name of the servicepath - the pathsecure - indicate if a secure https URL is required
java.lang.IllegalArgumentException - if path is null, or if service name is null/emtpy and the path
does not contain a service placeholder
ServiceNotAvailableException - if the service name specified by the service parameter
or overridden by the service placeholder is not enabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||