Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AccessibleJarLauncher(Archive) - Constructor for class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleJarLauncher
-
Creates an instance of the test program.
- AccessibleLauncher() - Constructor for class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Creates the launcher by accessing the archive and trying to read the classpath index file.
- AccessibleLauncher(Archive) - Constructor for class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Creates the launcher via an already existing archive.
- APP_CLASSPATH - Static variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter
- APP_CLASSPATH_INDEX_LOCATION - Static variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter
- applyClassPathArchivePostProcessing(Iterator<Archive>) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Performs class path archive post processing.
- AppStarter - Class in de.iip_ecosphere.platform.services.spring.loader
-
Frontend class for the actual generated application start class to get the class loading context right.
- AppStarter() - Constructor for class de.iip_ecosphere.platform.services.spring.loader.AppStarter
- AppStarter.AccessibleJarLauncher - Class in de.iip_ecosphere.platform.services.spring.loader
-
An accessible Jar Launcher if we need an (usual) root classloader.
- AppStarter.AccessibleLauncher - Class in de.iip_ecosphere.platform.services.spring.loader
-
Implements an accessible launcher just to access the Spring packaged JARs in the way Spring is doing it.
- AppStarter.ChildFirstLaunchedURLClassLoader - Class in de.iip_ecosphere.platform.services.spring.loader
-
A delegating child-first classloader.
- AppStarter.ChildIndexedUrlClassLoader - Class in de.iip_ecosphere.platform.services.spring.loader
-
A delegating child-first classloader.
- AppStarter.ChildLaunchedURLClassLoader - Class in de.iip_ecosphere.platform.services.spring.loader
-
A delegating child classloader to make internal methods accessible.
- AppStarter.ClassPathIndexFile - Class in de.iip_ecosphere.platform.services.spring.loader
-
A class path index file that provides ordering information for JARs.
- AppStarter.IndexedUrlClassLoader - Class in de.iip_ecosphere.platform.services.spring.loader
-
Creates an indexed child-firstclass loader taking into account the first given URL as it contains directly stored classes/resources.
- archive - Variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
- asFile(URL) - Static method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
-
Turns an URL into a file.
- asUrl(String) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
-
Turns a line into an URL.
C
- ChildFirstLaunchedURLClassLoader(boolean, Archive, URL[], ClassLoader) - Constructor for class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ChildFirstLaunchedURLClassLoader
-
Creates a child-first classloader.
- ChildIndexedUrlClassLoader(String, URL[], LoaderIndex, ClassLoader) - Constructor for class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ChildIndexedUrlClassLoader
-
Creates a child-first classloader.
- ChildLaunchedURLClassLoader(boolean, Archive, URL[], ClassLoader) - Constructor for class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ChildLaunchedURLClassLoader
-
Creates an instance with delegation to the real parent class loader.
- classPathIndex - Variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
- ClassPathIndexFile(File, List<String>) - Constructor for class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
-
Creates an instance based on a file root and a listing of index lines.
- computeResource(String) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ChildLaunchedURLClassLoader
-
Computes the value of
AppStarter.ChildLaunchedURLClassLoader.getResource(String)if not already known. - containsEntry(String) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
-
Returns whether a given name is contained in the index.
- createArchive() - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Creates the archive.
- createClassloader(File) - Static method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter
-
Creates a classloader for
jarFile. - createClassLoader() - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleJarLauncher
-
Creates a Spring class loader via the JarLauncher setup for the archive passed in to this class.
- createClassLoader() - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Creates a Spring class loader via the JarLauncher setup for the archive passed in to this class.
- createClassLoader(URL[]) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Creates the archive class loader based on the loaded index file.
- createClassLoader(Iterator<Archive>) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Creates the class loader based on an iterator of archives.
- createStackedLoader(ClassLoader) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Creates a stacked class loader.
D
- de.iip_ecosphere.platform.services.spring.loader - package de.iip_ecosphere.platform.services.spring.loader
-
A custom app-level spring loader.
E
- extractName(String) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
-
Extracts the name from the line.
F
- findClass(String) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ChildLaunchedURLClassLoader
- findClass(String) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.IndexedUrlClassLoader
- findClassIntern(String) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ChildLaunchedURLClassLoader
-
Finds a class (no caching).
- findResource(String) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.IndexedUrlClassLoader
- findResources(String) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.IndexedUrlClassLoader
G
- getArchive() - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Returns the archive.
- getClassPathArchivesIterator() - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Returns a iterator over the class path archives.
- getClassPathIndex(Archive) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Loads the classpath index file.
- getResource(String) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ChildLaunchedURLClassLoader
- getResources(String) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ChildLaunchedURLClassLoader
- getUrls() - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
-
Returns the URLs of all entries.
- getURLs() - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.IndexedUrlClassLoader
- guessClassPathSize() - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Guesses the classpath size.
I
- index - Variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.IndexedUrlClassLoader
- IndexedUrlClassLoader(String, URL[], LoaderIndex, ClassLoader) - Constructor for class de.iip_ecosphere.platform.services.spring.loader.AppStarter.IndexedUrlClassLoader
-
Creates an indexed class loader still taking into account the first given URL as it contains directly stored classes/resources.
- isEntryIndexed(Archive.Entry) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Returns whether
entryis indexed. - isExploded() - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Returns whether the archive is exploded.
- isNestedArchive(Archive.Entry) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Returns whether
entryis a nested archive. - isPostProcessingClassPathArchives() - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Returns whether a post processing of the class path archives is needed.
- isSearchCandidate(Archive.Entry) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Returns whether
entryis a search candidate.
L
- lines - Variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
- loaderIndex - Variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
- loadIfPossible(File, File) - Static method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
-
Loads the classpath index file if possible.
- loadIfPossible(File, String) - Static method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
-
Loads the classpath index file if possible.
- loadIfPossible(URL, String) - Static method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
-
Loads the classpath index file if possible.
- loadLines(InputStream) - Static method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
-
Loads the lines of the index file.
M
- main(String[]) - Static method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter
-
Executes the application by getting the class loading right and by calling the corresponding main method of
AppStarter.mainClass. - mainClass - Static variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter
N
- NESTED_ARCHIVE_ENTRY_FILTER - Static variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Filter for nested archive entries.
P
- postProcessClassPathArchives(List<Archive>) - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.AccessibleLauncher
-
Called to post-process archive entries before they are used.
- PROPERTY_MAIN_CLASS - Static variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter
R
- readLines(InputStream) - Static method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter
-
Reads the given input streams as lines.
- realParent - Variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ChildLaunchedURLClassLoader
- resourceIndex - Variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ChildLaunchedURLClassLoader
- resourcesIndex - Variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ChildLaunchedURLClassLoader
- root - Variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
S
- setMainClass(String) - Static method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter
-
Re-defines the qualified name of the main class.
- size() - Method in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.ClassPathIndexFile
-
Returns the size of the classpath index, i.e., the number of lines.
U
- url - Variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.IndexedUrlClassLoader
- urls - Variable in class de.iip_ecosphere.platform.services.spring.loader.AppStarter.IndexedUrlClassLoader
All Classes and Interfaces|All Packages|Constant Field Values