/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.objectmodel.EntityHeader
 *  com.l7tech.objectmodel.EntityManager
 *  com.l7tech.objectmodel.PersistentEntity
 *  com.l7tech.objectmodel.encass.EncapsulatedAssertionConfig
 */
package com.l7tech.server.policy;

import com.l7tech.objectmodel.EntityHeader;
import com.l7tech.objectmodel.EntityManager;
import com.l7tech.objectmodel.PersistentEntity;
import com.l7tech.objectmodel.encass.EncapsulatedAssertionConfig;
import com.l7tech.server.ServerConfig;
import com.l7tech.server.event.EntityInvalidationEvent;
import com.l7tech.server.policy.CacheableGuidEntityResolver;
import com.l7tech.server.policy.ServerAssertionRegistry;
import com.l7tech.server.util.ApplicationEventProxy;

class b
extends CacheableGuidEntityResolver<EncapsulatedAssertionConfig> {
    b(ServerAssertionRegistry serverAssertionRegistry, EntityManager entityManager, ApplicationEventProxy applicationEventProxy, ServerConfig serverConfig) {
        super((EntityManager<? extends PersistentEntity, ? extends EntityHeader>)entityManager, applicationEventProxy, serverConfig);
    }

    @Override
    protected boolean isInterestedEntityEvent(EntityInvalidationEvent entityInvalidationEvent) {
        return EncapsulatedAssertionConfig.class.isAssignableFrom(entityInvalidationEvent.getEntityClass());
    }
}

