You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using vertx-jersey with vertx-hk2. I have one problem. Is it possible that I can set up a custom binder with a parameter?
For example, I have a startupbinder as below:
public class StartupBinder extends AbstractBinder{
private JsonObject iEnvConfig;
public StartupBinder(JsonObject aEnvConfig){
iEnvConfig = aEnvConfig;
}
@Override
public void configure(){
bind(iEnvConfig).to(JsonObject.class).named("EnvConfig");
}
}
However, I don't know how to make it be invoked.
The text was updated successfully, but these errors were encountered:
I am using vertx-jersey with vertx-hk2. I have one problem. Is it possible that I can set up a custom binder with a parameter?
For example, I have a startupbinder as below:
public class StartupBinder extends AbstractBinder{
}
However, I don't know how to make it be invoked.
The text was updated successfully, but these errors were encountered: