com.ibm.wsspi.classloading
Interface ClassLoaderConfiguration
public interface ClassLoaderConfiguration
This interface defines the configuration of a classloader.
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.
setId
ClassLoaderConfiguration setId(ClassLoaderIdentity id)
- Parameters:
id
- The identity for this classloader
setParentId
ClassLoaderConfiguration setParentId(ClassLoaderIdentity id)
- Parameters:
id
- The identity of the parent to this classloader, if a parent is required.
setSharedLibraries
ClassLoaderConfiguration setSharedLibraries(java.util.List<java.lang.String> libs)
- Parameters:
libs
- the names of shared libraries that should be associated with this classloader
setSharedLibraries
ClassLoaderConfiguration setSharedLibraries(java.lang.String... libs)
- See Also:
setSharedLibraries(List)
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
setCommonLibraries
ClassLoaderConfiguration setCommonLibraries(java.lang.String... libs)
- See Also:
setCommonLibraries(List)
getCommonLibraries
java.util.List<java.lang.String> getCommonLibraries()
setClassProviders
ClassLoaderConfiguration setClassProviders(java.util.List<java.lang.String> providers)
setClassProviders
ClassLoaderConfiguration setClassProviders(java.lang.String... providers)
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()
getParentId
ClassLoaderIdentity getParentId()
getId
ClassLoaderIdentity getId()
getDelegateToParentAfterCheckingLocalClasspath
boolean getDelegateToParentAfterCheckingLocalClasspath()