Services
From Apache OpenOffice Wiki
< Documentation | DevGuide
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). |