Interface SharedClassHelper

All Superinterfaces:
SharedHelper
All Known Subinterfaces:
SharedClassTokenHelper, SharedClassURLClasspathHelper, SharedClassURLHelper
All Known Implementing Classes:
SharedClassAbstractHelper

public interface SharedClassHelper extends SharedHelper
The SharedClassHelper superinterface defines functions that are common to all class helpers.
See Also:
  • Method Details

    • setSharingFilter

      void setSharingFilter(SharedClassFilter filter)
      Applies the sharing filter to the SharedClassHelper.

      If a SecurityManager is installed, this method can only be called by an object whose caller ClassLoader has shared class "read,write" permissions.

      If a SharedClassFilter is already set, it is replaced by the new filter.

      Passing null as the argument removes the sharing filter.

      Parameters:
      filter - the SharedClassFilter instance or null
    • getSharingFilter

      SharedClassFilter getSharingFilter()
      Returns the sharing filter associated with this helper.
      Returns:
      the filter instance, or null if none is associated