@studyportals/sp-r2d2
Version:
A framework that contains various components used when developing projects that will be deployed via AWS λ.
16 lines • 1.01 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FilteringLambdaHandler = void 0;
const lambda_handler_class_1 = require("./lambda-handler.class");
const filtering_event_handler_decorator_class_1 = require("../core/event-handling/filtering-event-handler-decorator.class");
class FilteringLambdaHandler extends lambda_handler_class_1.LambdaHandler {
constructor(responseSenderFactory, bootstrapperFactory, eventTranslatorFactory, requestHandlerFactory, eventFilterFactory) {
super(responseSenderFactory, bootstrapperFactory, eventTranslatorFactory, requestHandlerFactory);
this.eventFilterFactory = eventFilterFactory;
}
createApplicationEventHandler() {
return new filtering_event_handler_decorator_class_1.FilteringEventHandlerDecorator(super.createApplicationEventHandler(), this.eventFilterFactory);
}
}
exports.FilteringLambdaHandler = FilteringLambdaHandler;
//# sourceMappingURL=filtering-lambda-handler.class.js.map