Add auto compile tweaks for reactor

This commit is contained in:
Dave Syer
2013-07-30 22:03:56 +01:00
parent 9cf59050d3
commit ec3c5b5321
4 changed files with 24 additions and 4 deletions

View File

@@ -53,9 +53,12 @@ public class ReactorCompilerAutoConfiguration extends CompilerAutoConfiguration
@Override
public void applyImports(ImportCustomizer imports) {
imports.addImports("reactor.core.Reactor", "reactor.event.Event",
"reactor.function.Consumer", "reactor.function.Functions",
"reactor.event.selector.Selectors",
"reactor.spring.context.annotation.On",
"reactor.spring.context.annotation.Reply",
EnableReactor.class.getCanonicalName());
EnableReactor.class.getCanonicalName()).addStarImports(
"reactor.event.Selectors");
}
@Target(ElementType.TYPE)