A C F G H I J L M O P R S T W

A

AbstractJavaCompiler - Class in org.apache.commons.jci.compilers
Base class for compiler implementations.
AbstractJavaCompiler() - Constructor for class org.apache.commons.jci.compilers.AbstractJavaCompiler
 
add(String, byte[]) - Method in class org.apache.commons.jci.readers.MemoryResourceReader
 
addReloadNotificationListener(ReloadNotificationListener) - Method in class org.apache.commons.jci.listeners.ReloadingListener
 
addResourceStore(ResourceStore) - Method in class org.apache.commons.jci.ReloadingClassLoader
 

C

clearAssertionStatus() - Method in class org.apache.commons.jci.ReloadingClassLoader
 
CompilationProblem - Interface in org.apache.commons.jci.problems
An abstract definition of a compilation problem
CompilationProblemHandler - Interface in org.apache.commons.jci.problems
A CompilationProblemHandler gets access to a problem as soon as the problem is available while the CompilationResult only represents a summary at the end.
CompilationResult - Class in org.apache.commons.jci.compilers
A CompilationResult represents the result of a compilation.
CompilationResult(CompilationProblem[]) - Constructor for class org.apache.commons.jci.compilers.CompilationResult
 
compile(String[], ResourceReader, ResourceStore) - Method in class org.apache.commons.jci.compilers.AbstractJavaCompiler
 
compile(String[], ResourceReader, ResourceStore, ClassLoader) - Method in class org.apache.commons.jci.compilers.AbstractJavaCompiler
 
compile(String[], ResourceReader, ResourceStore) - Method in interface org.apache.commons.jci.compilers.JavaCompiler
uses the default compiler settings and the current classloader
compile(String[], ResourceReader, ResourceStore, ClassLoader) - Method in interface org.apache.commons.jci.compilers.JavaCompiler
uses the default compiler settings
compile(String[], ResourceReader, ResourceStore, ClassLoader, JavaCompilerSettings) - Method in interface org.apache.commons.jci.compilers.JavaCompiler
Compiles the java resources "some/path/to/MyJava.java" read through the ResourceReader and then stores the resulting classes in the ResourceStore under "some/path/to/MyJava.class".
CompilingListener - Class in org.apache.commons.jci.listeners
A CompilingListener is an improved version of the ReloadingListener.
CompilingListener() - Constructor for class org.apache.commons.jci.listeners.CompilingListener
 
CompilingListener(JavaCompiler) - Constructor for class org.apache.commons.jci.listeners.CompilingListener
 
CompilingListener(JavaCompiler, TransactionalResourceStore) - Constructor for class org.apache.commons.jci.listeners.CompilingListener
 
ConversionUtils - Class in org.apache.commons.jci.utils
Mainly common path manipultation helper methods NOT FOR USE OUTSIDE OF JCI
ConversionUtils() - Constructor for class org.apache.commons.jci.utils.ConversionUtils
 
convertClassToResourcePath(String) - Static method in class org.apache.commons.jci.utils.ConversionUtils
Please do not use - internal org.my.Class -> org/my/Class.class
convertResourceToClassName(String) - Static method in class org.apache.commons.jci.utils.ConversionUtils
Please do not use - internal org/my/Class.xxx -> org.my.Class
createCompiler(String) - Method in class org.apache.commons.jci.compilers.JavaCompilerFactory
Tries to guess the class name by convention.
createDefaultSettings() - Method in interface org.apache.commons.jci.compilers.JavaCompiler
factory method to create the underlying default settings

F

FileChangeListener - Class in org.apache.commons.jci.listeners
The most simple implemenation of an FilesystemAlterationListener.
FileChangeListener() - Constructor for class org.apache.commons.jci.listeners.FileChangeListener
 
FileResourceReader - Class in org.apache.commons.jci.readers
A simple file system based Reader implementation
FileResourceReader(File) - Constructor for class org.apache.commons.jci.readers.FileResourceReader
 
FileResourceStore - Class in org.apache.commons.jci.stores
Stores the results on disk
FileResourceStore(File) - Constructor for class org.apache.commons.jci.stores.FileResourceStore
 
findClass(String) - Method in class org.apache.commons.jci.stores.ResourceStoreClassLoader
 

G

getBytes(String) - Method in class org.apache.commons.jci.readers.FileResourceReader
 
getBytes(String) - Method in class org.apache.commons.jci.readers.MemoryResourceReader
 
getBytes(String) - Method in interface org.apache.commons.jci.readers.ResourceReader
 
getCompilationResult() - Method in class org.apache.commons.jci.listeners.CompilingListener
 
getCompiler() - Method in class org.apache.commons.jci.listeners.CompilingListener
 
getEndColumn() - Method in interface org.apache.commons.jci.problems.CompilationProblem
 
getEndLine() - Method in interface org.apache.commons.jci.problems.CompilationProblem
position of where the problem stops in the source code
getErrors() - Method in class org.apache.commons.jci.compilers.CompilationResult
 
getFileName() - Method in interface org.apache.commons.jci.problems.CompilationProblem
name of the file where the problem occurred
getInstance() - Static method in class org.apache.commons.jci.compilers.JavaCompilerFactory
Deprecated. will be remove after the next release, please create an instance yourself
getMessage() - Method in interface org.apache.commons.jci.problems.CompilationProblem
the description of the problem
getReader(FilesystemAlterationObserver) - Method in class org.apache.commons.jci.listeners.CompilingListener
 
getResource(String) - Method in class org.apache.commons.jci.ReloadingClassLoader
 
getResourceAsStream(String) - Method in class org.apache.commons.jci.ReloadingClassLoader
 
getResourceNameFromFileName(String) - Static method in class org.apache.commons.jci.utils.ConversionUtils
a/b/c.java -> a/b/c.java a\b\c.java -> a/b/c.java
getResourcesToCompile(FilesystemAlterationObserver) - Method in class org.apache.commons.jci.listeners.CompilingListener
 
getSourceEncoding() - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 
getSourceFileExtension() - Method in class org.apache.commons.jci.listeners.CompilingListener
 
getSourceNameFromFile(FilesystemAlterationObserver, File) - Method in class org.apache.commons.jci.listeners.CompilingListener
 
getSourceVersion() - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 
getStartColumn() - Method in interface org.apache.commons.jci.problems.CompilationProblem
 
getStartLine() - Method in interface org.apache.commons.jci.problems.CompilationProblem
position of where the problem starts in the source code
getStore() - Method in class org.apache.commons.jci.listeners.CompilingListener
 
getStore() - Method in class org.apache.commons.jci.listeners.ReloadingListener
 
getTargetVersion() - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 
getWarnings() - Method in class org.apache.commons.jci.compilers.CompilationResult
 

H

handle(CompilationProblem) - Method in interface org.apache.commons.jci.problems.CompilationProblemHandler
 
handleNotification() - Method in interface org.apache.commons.jci.listeners.ReloadNotificationListener
 
handleNotification() - Method in class org.apache.commons.jci.ReloadingClassLoader
 
hasChanged() - Method in class org.apache.commons.jci.listeners.FileChangeListener
 

I

isAvailable(String) - Method in class org.apache.commons.jci.readers.FileResourceReader
 
isAvailable(String) - Method in class org.apache.commons.jci.readers.MemoryResourceReader
 
isAvailable(String) - Method in interface org.apache.commons.jci.readers.ResourceReader
 
isDeprecations() - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 
isError() - Method in interface org.apache.commons.jci.problems.CompilationProblem
is the problem an error and compilation cannot continue or just a warning and compilation can proceed
isReloadRequired(FilesystemAlterationObserver) - Method in class org.apache.commons.jci.listeners.CompilingListener
 
isReloadRequired(FilesystemAlterationObserver) - Method in class org.apache.commons.jci.listeners.ReloadingListener
 
isVerbose() - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 
isWarnings() - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 

J

JavaCompiler - Interface in org.apache.commons.jci.compilers
The general compiler interface.
JavaCompilerFactory - Class in org.apache.commons.jci.compilers
Creates JavaCompilers TODO use META-INF discovery mechanism
JavaCompilerFactory() - Constructor for class org.apache.commons.jci.compilers.JavaCompilerFactory
 
JavaCompilerSettings - Class in org.apache.commons.jci.compilers
Most common denominator for JavaCompiler settings.
JavaCompilerSettings() - Constructor for class org.apache.commons.jci.compilers.JavaCompilerSettings
 

L

list() - Method in class org.apache.commons.jci.readers.FileResourceReader
Deprecated.  
list() - Method in class org.apache.commons.jci.readers.MemoryResourceReader
Deprecated.  
list() - Method in class org.apache.commons.jci.stores.FileResourceStore
Deprecated.  
list() - Method in class org.apache.commons.jci.stores.MemoryResourceStore
Deprecated.  
loadClass(String) - Method in class org.apache.commons.jci.ReloadingClassLoader
 
loadClass(String, boolean) - Method in class org.apache.commons.jci.stores.ResourceStoreClassLoader
 

M

MemoryResourceReader - Class in org.apache.commons.jci.readers
A memory based reader to compile from memory
MemoryResourceReader() - Constructor for class org.apache.commons.jci.readers.MemoryResourceReader
 
MemoryResourceStore - Class in org.apache.commons.jci.stores
Store just in memory
MemoryResourceStore() - Constructor for class org.apache.commons.jci.stores.MemoryResourceStore
 

O

onDirectoryChange(File) - Method in class org.apache.commons.jci.listeners.FileChangeListener
 
onDirectoryChange(File) - Method in class org.apache.commons.jci.listeners.ReloadingListener
 
onDirectoryCreate(File) - Method in class org.apache.commons.jci.listeners.FileChangeListener
 
onDirectoryCreate(File) - Method in class org.apache.commons.jci.listeners.ReloadingListener
 
onDirectoryDelete(File) - Method in class org.apache.commons.jci.listeners.FileChangeListener
 
onDirectoryDelete(File) - Method in class org.apache.commons.jci.listeners.ReloadingListener
 
onFileChange(File) - Method in class org.apache.commons.jci.listeners.FileChangeListener
 
onFileCreate(File) - Method in class org.apache.commons.jci.listeners.FileChangeListener
 
onFileDelete(File) - Method in class org.apache.commons.jci.listeners.FileChangeListener
 
onStart(FilesystemAlterationObserver) - Method in class org.apache.commons.jci.listeners.CompilingListener
 
onStart(FilesystemAlterationObserver) - Method in class org.apache.commons.jci.listeners.FileChangeListener
 
onStart() - Method in interface org.apache.commons.jci.stores.Transactional
 
onStart() - Method in class org.apache.commons.jci.stores.TransactionalResourceStore
 
onStop(FilesystemAlterationObserver) - Method in class org.apache.commons.jci.listeners.FileChangeListener
 
onStop(FilesystemAlterationObserver) - Method in class org.apache.commons.jci.listeners.ReloadingListener
 
onStop() - Method in interface org.apache.commons.jci.stores.Transactional
 
onStop() - Method in class org.apache.commons.jci.stores.TransactionalResourceStore
 
org.apache.commons.jci - package org.apache.commons.jci
 
org.apache.commons.jci.compilers - package org.apache.commons.jci.compilers
Interfaces and abstract classes for the compiler abstraction itself.
org.apache.commons.jci.listeners - package org.apache.commons.jci.listeners
Special FAM listeners for just collecting FAM statistics, to compilation or class reloading.
org.apache.commons.jci.problems - package org.apache.commons.jci.problems
Compilation problems and related.
org.apache.commons.jci.readers - package org.apache.commons.jci.readers
Readers to read resources from.
org.apache.commons.jci.stores - package org.apache.commons.jci.stores
Stores to store the compilation results in.
org.apache.commons.jci.utils - package org.apache.commons.jci.utils
Utilities

P

problemHandler - Variable in class org.apache.commons.jci.compilers.AbstractJavaCompiler
 

R

read(String) - Method in class org.apache.commons.jci.stores.FileResourceStore
 
read(String) - Method in class org.apache.commons.jci.stores.MemoryResourceStore
 
read(String) - Method in interface org.apache.commons.jci.stores.ResourceStore
 
read(String) - Method in class org.apache.commons.jci.stores.TransactionalResourceStore
 
relative(File, File) - Static method in class org.apache.commons.jci.utils.ConversionUtils
 
ReloadingClassLoader - Class in org.apache.commons.jci
The ReloadingClassLoader uses a delegation mechansim to allow classes to be reloaded.
ReloadingClassLoader(ClassLoader) - Constructor for class org.apache.commons.jci.ReloadingClassLoader
 
ReloadingListener - Class in org.apache.commons.jci.listeners
This Listener waits for FAM events to trigger a reload of classes or resources.
ReloadingListener() - Constructor for class org.apache.commons.jci.listeners.ReloadingListener
 
ReloadingListener(ResourceStore) - Constructor for class org.apache.commons.jci.listeners.ReloadingListener
 
ReloadNotificationListener - Interface in org.apache.commons.jci.listeners
Classes implementing this interface can get notified by ReloadingListeners
remove(String) - Method in class org.apache.commons.jci.readers.MemoryResourceReader
 
remove(String) - Method in class org.apache.commons.jci.stores.FileResourceStore
 
remove(String) - Method in class org.apache.commons.jci.stores.MemoryResourceStore
 
remove(String) - Method in interface org.apache.commons.jci.stores.ResourceStore
 
remove(String) - Method in class org.apache.commons.jci.stores.TransactionalResourceStore
 
removeResourceStore(ResourceStore) - Method in class org.apache.commons.jci.ReloadingClassLoader
 
ResourceReader - Interface in org.apache.commons.jci.readers
A ResourceReader provide acces to resource like e.g.
ResourceStore - Interface in org.apache.commons.jci.stores
A Store is where the compilers are storing the results
ResourceStoreClassLoader - Class in org.apache.commons.jci.stores
A ClassLoader backed by an array of ResourceStores
ResourceStoreClassLoader(ClassLoader, ResourceStore[]) - Constructor for class org.apache.commons.jci.stores.ResourceStoreClassLoader
 

S

setClassAssertionStatus(String, boolean) - Method in class org.apache.commons.jci.ReloadingClassLoader
 
setCompilationProblemHandler(CompilationProblemHandler) - Method in class org.apache.commons.jci.compilers.AbstractJavaCompiler
 
setCompilationProblemHandler(CompilationProblemHandler) - Method in interface org.apache.commons.jci.compilers.JavaCompiler
Set the the handler that gets the notification of an error or warning as soon as this information is available from the compiler.
setDefaultAssertionStatus(boolean) - Method in class org.apache.commons.jci.ReloadingClassLoader
 
setDeprecations(boolean) - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 
setPackageAssertionStatus(String, boolean) - Method in class org.apache.commons.jci.ReloadingClassLoader
 
setSourceEncoding(String) - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 
setSourceVersion(String) - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 
setTargetVersion(String) - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 
setVerbose(boolean) - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 
setWarnings(boolean) - Method in class org.apache.commons.jci.compilers.JavaCompilerSettings
 
stripExtension(String) - Static method in class org.apache.commons.jci.utils.ConversionUtils
Please do not use - internal org/my/Class.xxx -> org/my/Class

T

toJavaCasing(String) - Static method in class org.apache.commons.jci.utils.ConversionUtils
 
toString() - Method in class org.apache.commons.jci.stores.FileResourceStore
 
toString() - Method in class org.apache.commons.jci.stores.MemoryResourceStore
 
toString() - Method in class org.apache.commons.jci.stores.TransactionalResourceStore
 
Transactional - Interface in org.apache.commons.jci.stores
Receive start/stop events
TransactionalResourceStore - Class in org.apache.commons.jci.stores
A TransactionalResourceStore get signals of the compilation process as a whole.
TransactionalResourceStore(ResourceStore) - Constructor for class org.apache.commons.jci.stores.TransactionalResourceStore
 

W

write(String, byte[]) - Method in class org.apache.commons.jci.stores.FileResourceStore
 
write(String, byte[]) - Method in class org.apache.commons.jci.stores.MemoryResourceStore
 
write(String, byte[]) - Method in interface org.apache.commons.jci.stores.ResourceStore
 
write(String, byte[]) - Method in class org.apache.commons.jci.stores.TransactionalResourceStore
 

A C F G H I J L M O P R S T W