Target: Class that defines a service.
Description: This annotation is used to define a service implementation class.
JavaDoc: Click here
Attributes:
| Name | Description | Data type | Required | Default value |
| id | The service ID. | String | No | Lower-case version of the class name. |
| name | Service name or description. | String | Yes | - |
| application | The parent application. | String | Yes | - |
Example:
@ServiceDefinition(name="This an example of a service", application="anApplication")
public class aService {
//...
}
See also: