com.ibm.oti.shared

Interface SharedClassFilter


  1. public interface SharedClassFilter
Interface which allows users of a Helper API to filter which classes are found and stored in the cache The user should provide a class which 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:
SharedClassURLHelper, SharedClassTokenHelper, SharedClassURLClasspathHelper

Method Summary

Modifier and Type Method and Description
  1. boolean
acceptFind(java.lang.String className)
Tests if the helper should try to find a specified class in the shared class cache
  1. boolean
acceptStore(java.lang.String className)
Tests if a specified class should be stored in the shared class cache

Method Detail

acceptStore

  1. boolean acceptStore(java.lang.String className)
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

  1. boolean acceptFind(java.lang.String className)
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