|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines an interface for a repository service factory. This factory creates instances of repository dependent services. It also provides access to repository independet services.
Copyright 2004 SAP AG
| Method Summary | |
java.util.Collection |
getAllRepositoryServices(IRepositoryManager repository)
Get a list of all registered service managers for a given repository manager. |
java.util.Collection |
getAllRepositoryServices(IResource resource)
Get all services for a given resource. |
java.util.Collection |
getAllServices()
Returns a collection of all defined services |
IRepositoryService |
getRepositoryService(IRepositoryManager repository,
java.lang.String servicetype)
Returns a specific service manager instance for a given repository manager. |
IRepositoryService |
getRepositoryService(IResource resource,
java.lang.String servicetype)
Get a specific service for a given resource. |
IRepositoryService |
getRepositoryService(java.lang.String id)
Get a service instance by ID. |
IService |
getService(java.lang.String serviceID)
Returns the instance of a service. |
boolean |
isRepositoryServiceAvailable(IRepositoryManager repository,
java.lang.String servicetype)
Checks if the service is avaible. |
boolean |
isRepositoryServiceAvailable(IResource resource,
java.lang.String servicetype)
Checks if the service is avaible. |
| Method Detail |
public java.util.Collection getAllRepositoryServices(IRepositoryManager repository)
throws ResourceException
repository - TBD: Description of the incoming method parameterIRepositoryService references.ResourceException - If there was a problem while allocating the
managers.
public IRepositoryService getRepositoryService(IRepositoryManager repository,
java.lang.String servicetype)
throws ResourceException
repository - A repository manager referenceservicetype - A service type constantIRepositoryService reference.ResourceException - If there was a problem while allocating the
manager.
public boolean isRepositoryServiceAvailable(IRepositoryManager repository,
java.lang.String servicetype)
throws ResourceException
repository - TBD: Description of the incoming method parameterservicetype - TBD: Description of the incoming method parameterResourceException - If there was a problem while allocating the
manager.
public java.util.Collection getAllRepositoryServices(IResource resource)
throws ResourceException
resource - TBD: Description of the incoming method parameterIRepositoryService s.ResourceException - If there was a problem while allocating the
managers.
public IRepositoryService getRepositoryService(IResource resource,
java.lang.String servicetype)
throws ResourceException
resource - TBD: Description of the incoming method parameterservicetype - TBD: Description of the incoming method parameterIRepositoryService .ResourceException - If there was a problem while allocating the
manager.
public boolean isRepositoryServiceAvailable(IResource resource,
java.lang.String servicetype)
throws ResourceException
resource - TBD: Description of the incoming method parameterservicetype - TBD: Description of the incoming method parameterResourceException - If there was a problem while allocating the
manager.
public IRepositoryService getRepositoryService(java.lang.String id)
throws ResourceException
id - The service manager IDIRepositoryService .ResourceException - If there was a problem while allocating the
manager.
public IService getService(java.lang.String serviceID)
throws ResourceException
serviceID - The service ID as specified in configuration.ResourceException - Exception raised in failure situation
public java.util.Collection getAllServices()
throws ResourceException
IService instances - empty
collection if no global services are availableResourceException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||