%ZHSLIB.Context.ServiceBase
abstract class %ZHSLIB.Context.ServiceBase extends %Library.RegisteredObject
This is a base class for a HealthShare Service. A Service is a singleton object that is instantiated when a HealthShare Instance is started. @API.Extensible @Modifier Availability InterSystemsMethod Inventory
Parameters
parameter CheckValidityOfSubclassMethodSignatures = 0;
Can be overridden to indicate that overridden methods in subclasses will have
their signatures checked to verify that they are compatible with the
corresponding signatures of the base methods defined in the current class.
@API.Overrideable
parameter ServiceKey;
The unique key for the service (e.g. classname).
@API.Overrideable
@API.Overrideable
parameter ServiceVersion;
Semantic version of the Service. Must be a version string with the following format:
..
@API.Overrideable
Methods
classmethod %%CheckSubClassValidity()
Ensure non-abstract subclasses have abstract parameters defined correctly
classmethod Instance(pMinimumMinorVersion As %Integer = 0) as %ZHSLIB.Context.ServiceBase
Returns the singleton service to use for this instance. The service returned will be
have the same major version as that in ServiceVersion. The
latest minor and patch version available for the service will be returned.
If pMinimumMinorVersion is provided, then a service is returned only if
one is found with at least the provided minor version.
Throws errors if service not found.
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()