/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.gateway.common.custom.CustomAssertionsRegistrar
 *  com.l7tech.policy.CustomAssertionRegistry
 *  com.l7tech.policy.assertion.CustomAssertionHolder
 */
package com.l7tech.server.policy.custom;

import com.l7tech.gateway.common.custom.CustomAssertionsRegistrar;
import com.l7tech.policy.CustomAssertionRegistry;
import com.l7tech.policy.assertion.CustomAssertionHolder;
import java.util.Collection;

public class CustomAssertionRegistryImpl
implements CustomAssertionRegistry {
    private final CustomAssertionsRegistrar a;

    public CustomAssertionRegistryImpl(CustomAssertionsRegistrar customAssertionsRegistrar) {
        this.a = customAssertionsRegistrar;
    }

    public Collection<CustomAssertionHolder> findAll() {
        return this.a.getAssertions();
    }

    public CustomAssertionHolder findByExternalName(String string) {
        return this.a.getAssertionByExternalName(string);
    }

    public CustomAssertionHolder findByClassname(String string) {
        return this.a.getAssertion(string);
    }
}

