registry.register(parseSequence(interceptorSequenceType));
}
private Class<? extends Interceptor>[] parseSequence(Class<? extends InterceptorSequence> type) {
try {
InterceptorSequence sequence = type.getConstructor().newInstance();
Class<? extends Interceptor>[] interceptors = sequence.getSequence();
for (Class<? extends Interceptor> interceptor : interceptors) {
componentRegistry.deepRegister(interceptor);
}
return interceptors;
} catch (Exception e) {