Search in sources :

Example 1 with CommandInterceptorChain

use of net.robinfriedli.aiode.command.interceptor.CommandInterceptorChain in project aiode by robinfriedli.

the class CommandManager method initializeInterceptorChain.

public void initializeInterceptorChain() {
    interceptorChain = new CommandInterceptorChain(getCommandInterceptorContributions());
    interceptorChainWithoutScripting = new CommandInterceptorChain(getCommandInterceptorContributions(ScriptCommandInterceptor.ScriptCommandInterceptorPreExecution.class, ScriptCommandInterceptor.ScriptCommandInterceptorFinalizer.class));
}
Also used : CommandInterceptorChain(net.robinfriedli.aiode.command.interceptor.CommandInterceptorChain) ScriptCommandInterceptor(net.robinfriedli.aiode.command.interceptor.interceptors.ScriptCommandInterceptor)

Aggregations

CommandInterceptorChain (net.robinfriedli.aiode.command.interceptor.CommandInterceptorChain)1 ScriptCommandInterceptor (net.robinfriedli.aiode.command.interceptor.interceptors.ScriptCommandInterceptor)1