class SequenceManager implements SequenceDescriptorHolder {

    public void handleRequest(final WilmaHttpRequest request) {
        for (SequenceDescriptor descriptor : descriptors.values()) {
            if (descriptor.isActive()) {
                try {
                    sequenceService.checkRequest(request, descriptor);
                } catch (SequenceHandlerKeyValidationException e) {
                    logger.error(e.getMessage());
                }
            }
        }
    }

}