Interface SharedClassFilter
public interface SharedClassFilter
SharedClassFilter allows users of a Helper API to filter which classes are found and stored in the cache.
The user should provide a class that implements the interface in which the functions return
true
or false
,
and then pass an instance of this class to setSharingFilter() in a shared class helper.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptFind
(String className) Tests if the helper should try to find a specified class in the shared class cacheboolean
acceptStore
(String className) Tests if a specified class should be stored in the shared class cache
-
Method Details
-
acceptStore
Tests if a specified class should be stored in the shared class cache- Parameters:
className
- String. The fully-qualified name of the class, with the package and class names separated by '.'- Returns:
- boolean. True if the class should be stored in the class cache, false otherwise.
-
acceptFind
Tests if the helper should try to find a specified class in the shared class cache- Parameters:
className
- String. The fully-qualified name of the class, with the package and class names separated by '.'- Returns:
- boolean. True if the helper should try to find the class, false otherwise
-