``` java env.onStart(() -> { start something }); env.onStop(() -> { stop something }); ``` This will simplify the existing implementation with `Managed` objects and/or `Pre/Post` annotations
This will simplify the existing implementation with
Managedobjects and/orPre/Postannotations