Service
annotationin packageklyn.di
public annotation Service extends Component:
└ Service

Marks a class as an injectable service component.

Service is a specialization of Component intended for application services and business logic classes.

import klyn.di

@Service(name="accounts")
public class AccountService:
pass
Properties inherited from Component: name, singleton