/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.gateway.common.LicenseException
 *  com.l7tech.policy.assertion.AssertionStatus
 *  com.l7tech.policy.assertion.PolicyAssertionException
 *  com.l7tech.policy.assertion.composite.AllAssertion
 *  org.springframework.beans.factory.BeanFactory
 *  org.springframework.context.ApplicationContext
 */
package com.l7tech.server.policy.assertion.composite;

import com.l7tech.gateway.common.LicenseException;
import com.l7tech.policy.assertion.AssertionStatus;
import com.l7tech.policy.assertion.PolicyAssertionException;
import com.l7tech.policy.assertion.composite.AllAssertion;
import com.l7tech.server.message.PolicyEnforcementContext;
import com.l7tech.server.policy.assertion.composite.ServerCompositeAssertion;
import com.l7tech.server.policy.assertion.composite.a;
import java.io.IOException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.ApplicationContext;

public final class ServerAllAssertion
extends ServerCompositeAssertion<AllAssertion> {
    private final ServerCompositeAssertion.AssertionResultListener h = new a(this);

    public ServerAllAssertion(AllAssertion allAssertion, ApplicationContext applicationContext) throws PolicyAssertionException, LicenseException {
        super(allAssertion, (BeanFactory)applicationContext);
    }

    @Override
    public AssertionStatus checkRequest(PolicyEnforcementContext policyEnforcementContext) throws IOException, PolicyAssertionException {
        return this.iterateChildren(policyEnforcementContext, this.h);
    }
}

