Difference between revisions of "Documentation/DevGuide/AppendixA/Services"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
m (→Naming) |
||
Line 11: | Line 11: | ||
==== Naming ==== | ==== Naming ==== | ||
− | Service identifiers begin with an uppercase letter and are put in initial caps , for example, <idl>com.sun.star.text.TextDocument</idl> | + | Service identifiers begin with an uppercase letter and are put in initial caps , for example, <idl>com.sun.star.text.TextDocument</idl>. Avoid abbreviations. |
==== Usage ==== | ==== Usage ==== |
Latest revision as of 02:38, 13 January 2013
Services are collections of related interfaces and properties. They specify the behavior of implementation objects at an abstract level by specifying the relationship and interaction between these interfaces and properties. Like interfaces, services are strictly abstract.
Naming
Service identifiers begin with an uppercase letter and are put in initial caps , for example, com.sun.star.text.TextDocument. Avoid abbreviations.
Usage
Services are used by a factory to create objects which fulfill certain requirements. Not all services are able to be instantiated by a factory, but they are used for documentation of properties or interface compositions. In a service, you can specify in detail what methods expect as arguments or what they return.
Content on this page is licensed under the Public Documentation License (PDL). |