Difference between revisions of "Documentation/DevGuide/AppendixA/Services"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
m (Naming)
 
(3 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/AppendixA/Exceptions
 
|NextPage=Documentation/DevGuide/AppendixA/Exceptions
 
}}
 
}}
{{DISPLAYTITLE:Services}}
+
{{Documentation/DevGuideLanguages|Documentation/DevGuide/AppendixA/{{SUBPAGENAME}}}}
 +
{{DISPLAYTITLE:Services}}
 
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.
 
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 ====
 
==== Naming ====
  
Service identifiers begin with an uppercase letter and are put in initial caps , for example, <idl>com.sun.star.text.TextDocument</idl>). Avoid abbreviations.
+
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 ====
Line 17: Line 18:
  
 
{{PDL1}}
 
{{PDL1}}
[[Category: Appendix]]
+
 
 +
[[Category:Documentation/Developer's Guide/Appendix]]

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).
Personal tools
In other languages