Interface SharedClassHelper

    • Method Detail

      • 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