swsnu / swppspr2015

Repository for discussing common issues that are not project-specific, SNU SWPP Spring 2015
https://sites.google.com/site/snuswppspr2015/
0 stars 0 forks source link

Register TaskFailureHandler to Service #22

Open gwsshs22 opened 9 years ago

gwsshs22 commented 9 years ago

Can I register TaskFailureHandler to Service not using ServiceConfiguration but .bindSetEntry(Services.class, MyTaskFailureHandler.class)?

jsjason commented 9 years ago

Yes, you may. In fact, you're actually doing the same thing because the line .bindSetEntry(Services.class, MyTaskFailureHandler.class) is contained in ServiceConfiguration.