com.ibm.oti.shared
Interface SharedClassHelper

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

public interface SharedClassHelper
extends SharedHelper

SharedClassHelper super-interface defines functions common to all class helpers.

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

Method Summary
 SharedClassFilter getSharingFilter()
          Return the sharing filter associated with this helper.
 void setSharingFilter(SharedClassFilter filter)
          Applies the sharing filter to the SharedClassHelper.
 
Methods inherited from 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 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

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

Returns:
the filter instance or null if non is associated