Interface ClassLoaderConfiguration


  • public interface ClassLoaderConfiguration
    This interface defines the configuration of a classloader.
    • Method Detail

      • setDelegateToParentAfterCheckingLocalClasspath

        ClassLoaderConfiguration setDelegateToParentAfterCheckingLocalClasspath​(boolean delegateLast)
        Parameters:
        delegateLast - true indicates that the parent classloader should be consulted after the local class space. This is not the default behaviour for normal class loading. false indicates normal class loading semantics should be used.
      • setSharedLibraries

        ClassLoaderConfiguration setSharedLibraries​(java.util.List<java.lang.String> libs)
        Parameters:
        libs - the names of shared libraries that should be associated with this classloader
      • addSharedLibraries

        ClassLoaderConfiguration addSharedLibraries​(java.util.List<java.lang.String> libs)
        Parameters:
        libs - the names of shared libraries that should be associated with this classloader
      • getSharedLibraries

        java.util.List<java.lang.String> getSharedLibraries()
      • setCommonLibraries

        ClassLoaderConfiguration setCommonLibraries​(java.util.List<java.lang.String> libs)
        Parameters:
        libs - the names of common shared libraries that should be associated with this classloader
      • getCommonLibraries

        java.util.List<java.lang.String> getCommonLibraries()
      • getClassProviders

        java.util.List<java.lang.String> getClassProviders()
      • setNativeLibraryContainers

        ClassLoaderConfiguration setNativeLibraryContainers​(java.util.List<com.ibm.wsspi.adaptable.module.Container> containers)
      • setNativeLibraryContainers

        ClassLoaderConfiguration setNativeLibraryContainers​(com.ibm.wsspi.adaptable.module.Container... containers)
      • getNativeLibraryContainers

        java.util.List<com.ibm.wsspi.adaptable.module.Container> getNativeLibraryContainers()
      • getDelegateToParentAfterCheckingLocalClasspath

        boolean getDelegateToParentAfterCheckingLocalClasspath()
      • getProtectionDomain

        java.security.ProtectionDomain getProtectionDomain()
      • setIncludeAppExtensions

        ClassLoaderConfiguration setIncludeAppExtensions​(boolean include)
        Parameters:
        include - Whether or not to include ApplicationExtensionLibrary instances to this classloader
      • getIncludeAppExtensions

        boolean getIncludeAppExtensions()