@StableMinor(version="12.4", sinceVersion="4.0") public interface IServiceManager extends IConfigKeyChecker
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clear the manager cache entries for Services, Service Configs and Service Types.
|
ServiceConfig |
get(SessionConfig sessionConfig,
String serviceId,
ITransaction transaction)
Get the configuration of the service.
|
Collection<String> |
getPreBuiltChannelFiles(SessionConfig sessionConfig,
String serviceId,
ITransaction transaction)
Returns a collection of paths to the pre built channel files for the
specified service.
|
IService |
getService(SessionConfig sessionConfig,
String serviceId,
ITransaction transaction)
Get the service.
|
Collection<ServiceConfig> |
getServices(SessionConfig sessionConfig,
boolean getInstantiableServicesOnly,
ITransaction transaction)
Get services.
|
void |
register(SessionConfig sessionConfig,
String serviceConfigPath,
ITransaction transaction)
Register the service.
|
void |
registerServiceTypes(SessionConfig sessionConfig,
String serviceTypesConfigPath,
ITransaction transaction)
Register the types of service.
|
void |
unregister(SessionConfig sessionConfig,
String serviceId,
ITransaction transaction)
Unregister a service.
|
void |
unregisterServiceType(SessionConfig sessionConfig,
String typeId,
ITransaction transaction)
Unregister the service´s type.
|
keyExists
void register(SessionConfig sessionConfig, String serviceConfigPath, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceConfigPath
- transaction
- ManagerException
PortalException
void unregister(SessionConfig sessionConfig, String serviceId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- identifier for the session.serviceId
- the id of the service.transaction
- the transaction for persistence access.ManagerException
PortalException
ServiceConfig get(SessionConfig sessionConfig, String serviceId, ITransaction transaction) throws ManagerException, PortalException
serviceId
- transaction
- ManagerException
PortalException
IService getService(SessionConfig sessionConfig, String serviceId, ITransaction transaction) throws ManagerException, PortalException
serviceId
- transaction
- ManagerException
PortalException
Collection<ServiceConfig> getServices(SessionConfig sessionConfig, boolean getInstantiableServicesOnly, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- transaction
- ManagerException
PortalException
void registerServiceTypes(SessionConfig sessionConfig, String serviceTypesConfigPath, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceTypesConfigPath
- transaction
- ManagerException
PortalException
void unregisterServiceType(SessionConfig sessionConfig, String typeId, ITransaction transaction) throws ManagerException, PortalException
typeId
- transaction
- ManagerException
PortalException
Collection<String> getPreBuiltChannelFiles(SessionConfig sessionConfig, String serviceId, ITransaction transaction) throws PortalException
sessionConfig
- the user session information.serviceId
- the service id.transaction
- the transaction for persistence access.PortalException
PortalContext#getDefinitionPath(String)}
void clearCache() throws PortalException
PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.