|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="4.1", sinceVersion="4.0") public interface IServiceManager
Defines the methods available in a service manager.
Method Summary | |
---|---|
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. |
Methods inherited from interface lumis.portal.serialization.operation.IConfigKeyChecker |
---|
keyExists |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |