All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.feilong.lib.ognl.ClassCacheInspector Maven / Gradle / Ivy

Go to download

feilong is a suite of core and expanded libraries that include utility classes, http, excel,cvs, io classes, and much much more.

There is a newer version: 4.0.8
Show newest version
package com.feilong.lib.ognl;

/**
 * Optional interface that may be registered with {@link OgnlRuntime#setClassCacheInspector(ClassCacheInspector)} as
 * a means to disallow caching of specific class types.
 */
public interface ClassCacheInspector{

    /**
     * Invoked just before storing a class type within a cache instance.
     *
     * @param type
     *            The class that is to be stored.
     *
     * @return True if the class can be cached, false otherwise.
     */
    boolean shouldCache(Class type);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy