-
-
Notifications
You must be signed in to change notification settings - Fork 202
Closed
Labels
Milestone
Description
Currently my workaround
void useExtra(Jooby jooby) {
onStartFake.addAll(Reflect.on(jooby).get("onStart"));
onStopFake.addAll(Reflect.on(jooby).get("onStop"));
}
public Jooby use(final Jooby app) {
useExtra(app);
return super.use(app);
}
public Jooby use(final String path, final Jooby app) {
useExtra(app);
return super.use(path, app);
}