public class ServiceFactory extends Object implements IServiceFactory
Copyright 2004 SAP AG
| Modifier and Type | Method and Description |
|---|---|
Collection |
getAllServices()
Returns all services
|
static ServiceFactory |
getInstance()
Returns the ServiceFactory instance
|
IService |
getService(String type)
Returns a instance for a given service type identifier
|
boolean |
isAvailable(String type)
Returns true if the service is available.
|
void |
releaseService(IService service)
Releases the service instance.
|
public static ServiceFactory getInstance() throws WcmException
WcmException - Exception raised in failure situationpublic IService getService(String type) throws WcmException
IServiceFactorygetService in interface IServiceFactorytype - The service typeWcmException - Exception raised in failure situationpublic boolean isAvailable(String type) throws WcmException
IServiceFactoryisAvailable in interface IServiceFactorytype - Checks if the service is available.WcmException - Exception raised in failure situationpublic Collection getAllServices() throws WcmException
IServiceFactorygetAllServices in interface IServiceFactoryWcmException - Exception raised in failure situationpublic void releaseService(IService service) throws WcmException
IServiceFactoryreleaseService in interface IServiceFactoryservice - The service instance to release.WcmException - Exception raised in failure situation| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice