Your plugins can make use of dependency injection provided via 'javax.inject'. Dependency injection can be used for various things like logging, configuration and the provided handlers or controllers.
For an example of dependency injection in use, take a look at the Hello World Mail Info Tab App.