The PAK-Core harbors the core functionality of the PAK-framework. It enables the creation, fetching and execution of Commands. Every component within the core-module, plays a vital part in PAK. This chapter describes the functionality of the ICommandService marker-interface.

1. Basics

ICommandService is a marker-interface, it marks a Service as a CommandService. It was created to differentiate between a conventional Service- and a CommandService-implementation. If the usage of @Service is not wanted, or simply too expensive, an ICommandService can be injected, using @CommandService, which provides the option of creating utility-Services. Furthermore, it marks a specific Service as usable for Commands, as other Services are not intended for Commands. CommandServices can provide connection to tools, e. g. establishing simple rest-calls.