package org.example
import javafx.inject.Inject
import griffon.inject.Contextual
class LoginController {
LoginModel model // injected by MVC group
@Inject
private LoginService loginService // injected by DI container
@Contextual
private Credentials credentials // injected from context
// found under key = org.example.Credentials
}