Package com.ibm.wsspi.library
Interface Library
-
public interface Library
A library, configured in server.xml, may contain folders, files (i.e. JARs and native libraries), and filesets.Do not implement this interface. Liberty class loaders will only work with the Liberty implementations of this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.EnumSet<ApiType>
getApiTypeVisibility()
Get the allowed API types for this shared library.java.lang.ClassLoader
getClassLoader()
Get the single classloader for this shared library.java.util.Collection<com.ibm.wsspi.artifact.ArtifactContainer>
getContainers()
This method returns all the artifact containers from this shared libraryjava.util.Collection<java.io.File>
getFiles()
This method returns theCollection
of Filesjava.util.Collection<com.ibm.wsspi.config.Fileset>
getFilesets()
This method returns theCollection
of Filesetsjava.util.Collection<java.io.File>
getFolders()
This method returns theCollection
of Foldersjava.lang.String
id()
The unique identifier for this shared library.
-
-
-
Method Detail
-
id
java.lang.String id()
The unique identifier for this shared library.
-
getFilesets
java.util.Collection<com.ibm.wsspi.config.Fileset> getFilesets()
This method returns theCollection
of Filesets- Returns:
- a list of contained Filesets
-
getClassLoader
java.lang.ClassLoader getClassLoader()
Get the single classloader for this shared library. There should be at most one of these in existence at any one time.
-
getApiTypeVisibility
java.util.EnumSet<ApiType> getApiTypeVisibility()
Get the allowed API types for this shared library.
-
getFiles
java.util.Collection<java.io.File> getFiles()
This method returns theCollection
of Files- Returns:
- a list of contained Files
-
getFolders
java.util.Collection<java.io.File> getFolders()
This method returns theCollection
of Folders- Returns:
- a list of contained Folders
-
getContainers
java.util.Collection<com.ibm.wsspi.artifact.ArtifactContainer> getContainers()
This method returns all the artifact containers from this shared library- Returns:
- a collection of contained artifact containers
-
-