}
public void build(ConfiguredService service, WireTargetConfiguration wireTargetConfiguration) throws BuilderException {
for (TargetInvocationConfiguration configuration : wireTargetConfiguration.getInvocationConfigurations().values()) {
if (configuration.getMethod().getAnnotation(OneWay.class)!=null) {
configuration.addInterceptor(new AsyncInterceptor(workManager, messageFactory));
}
}
}