com.ibm.oti.shared

Interface SharedClassHelper

All Superinterfaces:
SharedHelper
All known subinterfaces:
SharedClassTokenHelper, SharedClassURLClasspathHelper, SharedClassURLHelper
All known implementing classes:
SharedClassAbstractHelper, SharedClassTokenHelperImpl, SharedClassURLClasspathHelperImpl, SharedClassURLHelperImpl

  1. public interface SharedClassHelper
  2. extends SharedHelper
SharedClassHelper super-interface defines functions common to all class helpers.

Version:
initial
Author:
OTI
See Also:
SharedHelper, SharedClassHelperFactory

Method Summary

Modifier and Type Method and Description
  1. SharedClassFilter
getSharingFilter()
Return the sharing filter associated with this helper.
  1. void
setSharingFilter(SharedClassFilter filter)
Applies the sharing filter to the SharedClassHelper.
Methods inherited from interface com.ibm.oti.shared.SharedHelper
getClassLoader

Method Detail

setSharingFilter

  1. 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 who's 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.


getSharingFilter

  1. SharedClassFilter getSharingFilter( )
Return the sharing filter associated with this helper.

Returns:
the filter instance or null if non is associated