Namespace: Ccs.Common
Type: Interface IServiceManager
Parent Classes:
Inherits: Ccs.Common.IManager


File:IServiceManager
Purpose:Base Service Manager interface
Author(s):pjudge@progress.com
Created:2016-09-26



Method Summary
  Options Name Purpose
  Progress.Lang.Object getService (Class) /* Returns a usable instance of the requested service. @param P.L.Class The service name requested @return P.L.Object A usable instance @throws P.L.AppError Thrown when no implementation can be found */
  Progress.Lang.Object getService (Class, ILifecycleScope) /* Returns a usable instance of the requested service. @param P.L.Class The service name requested @param ILifecycleScope A requested scope. The implementation may choose to ignore this value. @return P.L.Object A usable instance @throws P.L.AppError Thrown when no implementation can be found */
  Progress.Lang.Object getService (Class, character) /* Returns a usable instance of the requested service. @param P.L.Class The service name requested @param character An alias for the service. The implementation may choose to ignore this value. @return P.L.Object A usable instance @throws P.L.AppError Thrown when no implementation can be found */
  stopServices (ILifecycleScope) /* Destroys and flushes from any cache(s) objects scoped to the argument scope. @param ILifecycleScope A requested scope for which to stop services. */

Method Detail
Top

Progress.Lang.Object getService (Class)

/* Returns a usable instance of the requested service.
@throws P.L.AppError Thrown when no implementation can be found
Parameters:
poService Progress.Lang.Class
 
Returns Progress.Lang.Object
  P.L.Object A usable instance
Top

Progress.Lang.Object getService (Class, ILifecycleScope)

/* Returns a usable instance of the requested service.
@throws P.L.AppError Thrown when no implementation can be found
Parameters:
poService Progress.Lang.Class
 
poScope Ccs.ServiceManager.ILifecycleScope
 
Returns Progress.Lang.Object
  P.L.Object A usable instance
Top

Progress.Lang.Object getService (Class, character)

/* Returns a usable instance of the requested service.
@throws P.L.AppError Thrown when no implementation can be found
Parameters:
poService Progress.Lang.Class
 
pcAlias CHARACTER
 
Returns Progress.Lang.Object
  P.L.Object A usable instance
Top

stopServices (ILifecycleScope)

/* Destroys and flushes from any cache(s) objects scoped to the argument scope.
Parameters:
poScope Ccs.ServiceManager.ILifecycleScope