Package com.ibm.wsspi.classloading
Interface ClassLoaderConfiguration
public interface ClassLoaderConfiguration
This interface defines the configuration of a classloader.
-
Method Summary
Modifier and TypeMethodDescriptionaddSharedLibraries
(String... libs) addSharedLibraries
(List<String> libs) boolean
getId()
boolean
List<com.ibm.wsspi.adaptable.module.Container>
setClassProviders
(String... providers) setClassProviders
(List<String> providers) setCommonLibraries
(String... libs) setCommonLibraries
(List<String> libs) setDelegateToParentAfterCheckingLocalClasspath
(boolean delegateLast) setIncludeAppExtensions
(boolean include) setNativeLibraryContainers
(com.ibm.wsspi.adaptable.module.Container... containers) setNativeLibraryContainers
(List<com.ibm.wsspi.adaptable.module.Container> containers) setProtectionDomain
(ProtectionDomain domain) setSharedLibraries
(String... libs) setSharedLibraries
(List<String> libs)
-
Method Details
-
setDelegateToParentAfterCheckingLocalClasspath
- 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.
-
setId
- Parameters:
id
- The identity for this classloader
-
setParentId
- Parameters:
id
- The identity of the parent to this classloader, if a parent is required.
-
setCommonLibraries
- Parameters:
libs
- the names of common shared libraries that should be associated with this classloader
-
setCommonLibraries
- See Also:
-
getCommonLibraries
-
setClassProviders
-
setClassProviders
-
getClassProviders
-
setNativeLibraryContainers
ClassLoaderConfiguration setNativeLibraryContainers(List<com.ibm.wsspi.adaptable.module.Container> containers) -
setNativeLibraryContainers
ClassLoaderConfiguration setNativeLibraryContainers(com.ibm.wsspi.adaptable.module.Container... containers) -
getNativeLibraryContainers
List<com.ibm.wsspi.adaptable.module.Container> getNativeLibraryContainers() -
getParentId
ClassLoaderIdentity getParentId() -
getId
ClassLoaderIdentity getId() -
getDelegateToParentAfterCheckingLocalClasspath
boolean getDelegateToParentAfterCheckingLocalClasspath() -
setProtectionDomain
-
getProtectionDomain
ProtectionDomain getProtectionDomain() -
setIncludeAppExtensions
- Parameters:
include
- Whether or not to include ApplicationExtensionLibrary instances to this classloader
-
getIncludeAppExtensions
boolean getIncludeAppExtensions()
-