@Import(value=DispatchModule.class) public abstract class HandlerModule extends Object
Modifier and Type | Field and Description |
---|---|
protected ApplicationContext |
applicationContext |
Constructor and Description |
---|
HandlerModule() |
Modifier and Type | Method and Description |
---|---|
protected <A extends Action<R>,R extends Result> |
bindHandler(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass) |
protected <A extends Action<R>,R extends Result> |
bindHandler(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass,
Class<? extends ActionValidator> actionValidator) |
protected abstract void |
configureHandlers() |
@Autowired protected ApplicationContext applicationContext
protected <A extends Action<R>,R extends Result> void bindHandler(Class<A> actionClass, Class<? extends ActionHandler<A,R>> handlerClass)
protected <A extends Action<R>,R extends Result> void bindHandler(Class<A> actionClass, Class<? extends ActionHandler<A,R>> handlerClass, Class<? extends ActionValidator> actionValidator)
protected abstract void configureHandlers()
Copyright © 2010–2014 Arcbees. All rights reserved.