Open gwsshs22 opened 9 years ago
Can I register TaskFailureHandler to Service not using ServiceConfiguration but .bindSetEntry(Services.class, MyTaskFailureHandler.class)?
Yes, you may. In fact, you're actually doing the same thing because the line .bindSetEntry(Services.class, MyTaskFailureHandler.class) is contained in ServiceConfiguration.
.bindSetEntry(Services.class, MyTaskFailureHandler.class)
ServiceConfiguration
Can I register TaskFailureHandler to Service not using ServiceConfiguration but .bindSetEntry(Services.class, MyTaskFailureHandler.class)?