-
- 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:
SharedHelper,SharedClassHelperFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SharedClassFiltergetSharingFilter()Returns the sharing filter associated with this helper.voidsetSharingFilter(SharedClassFilter filter)Applies the sharing filter to the SharedClassHelper.-
Methods declared in interface com.ibm.oti.shared.SharedHelper
getClassLoader
-
-
-
-
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
-
-