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
IServiceFactory
getService
in interface IServiceFactory
type
- The service typeWcmException
- Exception raised in failure situationpublic boolean isAvailable(String type) throws WcmException
IServiceFactory
isAvailable
in interface IServiceFactory
type
- Checks if the service is available.WcmException
- Exception raised in failure situationpublic Collection getAllServices() throws WcmException
IServiceFactory
getAllServices
in interface IServiceFactory
WcmException
- Exception raised in failure situationpublic void releaseService(IService service) throws WcmException
IServiceFactory
releaseService
in interface IServiceFactory
service
- The service instance to release.WcmException
- Exception raised in failure situationAccess 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 2018 SAP AG Complete Copyright Notice