Appears in: <application>
and <library-specification>
Defines an IEngineService
provided by the application or by a library.
The framework provides several services (home, direct, action, external, etc.). Applications may override these services by defining different services with the same names.
Libraries that provide services should use a qualified name (that is, put a package prefix in front of the name) to avoid name collisions.
Figure B.28. <service>
Attributes
Name | Type | Required ? | Default Value | Description |
---|---|---|---|---|
name | string | yes | The name of the service. | |
class | string | yes | The complete class name to instantiate. The class must have
a zero-arguments constructor and implement the interface
IEngineService
|