A B C D F G I J L N O P R S T U Z

A

Artifact - Class in org.apache.felix.fileinstall.internal
An artifact that has been dropped into one watched directory.
Artifact() - Constructor for class org.apache.felix.fileinstall.internal.Artifact
 
ArtifactInstaller - Interface in org.apache.felix.fileinstall
Objects implementing this interface are able to directly install and uninstall supported artifacts.
ArtifactListener - Interface in org.apache.felix.fileinstall
Interface representing a custom deployment mechanism.
ArtifactTransformer - Interface in org.apache.felix.fileinstall
Objects implementing this interface are able to convert certain kind of artifacts to OSGi bundles.
ArtifactUrlTransformer - Interface in org.apache.felix.fileinstall
Objects implementing this interface are able to convert certain kind of artifacts to OSGi bundles on the fly through an URL handler.

B

bundleChanged(BundleEvent) - Method in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
BundleTransformer - Class in org.apache.felix.fileinstall.internal
ArtifactUrlTransformer for plain bundles.
BundleTransformer() - Constructor for class org.apache.felix.fileinstall.internal.BundleTransformer
 

C

canHandle(File) - Method in interface org.apache.felix.fileinstall.ArtifactListener
Returns true if the listener can process the given artifact.
canHandle(File) - Method in class org.apache.felix.fileinstall.internal.BundleTransformer
 
canHandle(File) - Method in class org.apache.felix.fileinstall.internal.ConfigInstaller
 
close() - Method in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
ConfigInstaller - Class in org.apache.felix.fileinstall.internal
ArtifactInstaller for configurations.
configurationEvent(ConfigurationEvent) - Method in class org.apache.felix.fileinstall.internal.ConfigInstaller
 
connect() - Method in class org.apache.felix.fileinstall.internal.JarDirUrlHandler.Connection
 

D

deleted(String) - Method in class org.apache.felix.fileinstall.internal.FileInstall
 
destroy() - Method in class org.apache.felix.fileinstall.internal.ConfigInstaller
 
DIR - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
DirectoryWatcher - Class in org.apache.felix.fileinstall.internal
-DirectoryWatcher- This class runs a background task that checks a directory for new files or removed files.
DirectoryWatcher(Dictionary, BundleContext) - Constructor for class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
DISABLE_CONFIG_SAVE - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 

F

FileInstall - Class in org.apache.felix.fileinstall.internal
This clever little bundle watches a directory and will install any jar file if finds in that directory (as long as it is a valid bundle and not a fragment).
FileInstall() - Constructor for class org.apache.felix.fileinstall.internal.FileInstall
 
FILENAME - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
FILTER - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 

G

getBundleId() - Method in class org.apache.felix.fileinstall.internal.Artifact
 
getChecksum() - Method in class org.apache.felix.fileinstall.internal.Artifact
 
getChecksum(File) - Method in class org.apache.felix.fileinstall.internal.Scanner
Retrieve the previously computed checksum for a give file.
getGlobalLogLevel(BundleContext) - Static method in class org.apache.felix.fileinstall.internal.Util
 
getInputStream() - Method in class org.apache.felix.fileinstall.internal.JarDirUrlHandler.Connection
 
getJaredDirectory() - Method in class org.apache.felix.fileinstall.internal.Artifact
 
getJaredUrl() - Method in class org.apache.felix.fileinstall.internal.Artifact
 
getListener() - Method in class org.apache.felix.fileinstall.internal.Artifact
 
getPath() - Method in class org.apache.felix.fileinstall.internal.Artifact
 
getProperties() - Method in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
getThreadName(Dictionary) - Static method in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
getTransformed() - Method in class org.apache.felix.fileinstall.internal.Artifact
 
getTransformedUrl() - Method in class org.apache.felix.fileinstall.internal.Artifact
 

I

init() - Method in class org.apache.felix.fileinstall.internal.ConfigInstaller
 
initialize(Map) - Method in class org.apache.felix.fileinstall.internal.Scanner
Initialize the list of known files.
install(File) - Method in interface org.apache.felix.fileinstall.ArtifactInstaller
Install the artifact
install(File) - Method in class org.apache.felix.fileinstall.internal.ConfigInstaller
 

J

jarDir(File, File) - Static method in class org.apache.felix.fileinstall.internal.Util
Jar up a directory
jarDir(File, OutputStream) - Static method in class org.apache.felix.fileinstall.internal.Util
 
JarDirUrlHandler - Class in org.apache.felix.fileinstall.internal
A URL handler that can jar a directory on the fly
JarDirUrlHandler() - Constructor for class org.apache.felix.fileinstall.internal.JarDirUrlHandler
 
JarDirUrlHandler.Connection - Class in org.apache.felix.fileinstall.internal
 
JarDirUrlHandler.Connection(URL) - Constructor for class org.apache.felix.fileinstall.internal.JarDirUrlHandler.Connection
 

L

loadChecksum(Bundle, BundleContext) - Static method in class org.apache.felix.fileinstall.internal.Util
Returns the stored checksum of the bundle.
log(BundleContext, int, int, String, Throwable) - Static method in class org.apache.felix.fileinstall.internal.Util
Log a message and optional throwable.
LOG_LEVEL - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 

N

NO_INITIAL_DELAY - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 

O

openConnection(URL) - Method in class org.apache.felix.fileinstall.internal.JarDirUrlHandler
Open the connection for the given URL.
org.apache.felix.fileinstall - package org.apache.felix.fileinstall
 
org.apache.felix.fileinstall.internal - package org.apache.felix.fileinstall.internal
 

P

POLL - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
PROTOCOL - Static variable in class org.apache.felix.fileinstall.internal.JarDirUrlHandler
 

R

run() - Method in class org.apache.felix.fileinstall.internal.DirectoryWatcher
Main run loop, will traverse the directory, and then handle the delta between installed and newly found/lost bundles and configurations.

S

scan(boolean) - Method in class org.apache.felix.fileinstall.internal.Scanner
Report a set of new, modified or deleted files.
Scanner - Class in org.apache.felix.fileinstall.internal
A Scanner object is able to detect and report new, modified and deleted files.
Scanner(File) - Constructor for class org.apache.felix.fileinstall.internal.Scanner
Create a scanner for the specified directory
Scanner(File, FilenameFilter) - Constructor for class org.apache.felix.fileinstall.internal.Scanner
Create a scanner for the specified directory and file filter
setBundleId(long) - Method in class org.apache.felix.fileinstall.internal.Artifact
 
setChecksum(long) - Method in class org.apache.felix.fileinstall.internal.Artifact
 
setJaredDirectory(File) - Method in class org.apache.felix.fileinstall.internal.Artifact
 
setJaredUrl(URL) - Method in class org.apache.felix.fileinstall.internal.Artifact
 
setListener(ArtifactListener) - Method in class org.apache.felix.fileinstall.internal.Artifact
 
setPath(File) - Method in class org.apache.felix.fileinstall.internal.Artifact
 
setTransformed(File) - Method in class org.apache.felix.fileinstall.internal.Artifact
 
setTransformedUrl(URL) - Method in class org.apache.felix.fileinstall.internal.Artifact
 
start() - Method in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
start(BundleContext) - Method in class org.apache.felix.fileinstall.internal.FileInstall
 
START_LEVEL - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
START_NEW_BUNDLES - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
stop(BundleContext) - Method in class org.apache.felix.fileinstall.internal.FileInstall
 
storeChecksum(Bundle, long, BundleContext) - Static method in class org.apache.felix.fileinstall.internal.Util
Stores the checksum into a bundle data file.

T

TMPDIR - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
transform(File, File) - Method in interface org.apache.felix.fileinstall.ArtifactTransformer
Process the given file (canHandle returned true previously) Can return or a pointer to a transformed file.
transform(URL) - Method in interface org.apache.felix.fileinstall.ArtifactUrlTransformer
Process the given file (canHandle returned true previously) Can return or a pointer to a transformed file.
transform(URL) - Method in class org.apache.felix.fileinstall.internal.BundleTransformer
 

U

uninstall(File) - Method in interface org.apache.felix.fileinstall.ArtifactInstaller
Uninstall the artifact
uninstall(File) - Method in class org.apache.felix.fileinstall.internal.ConfigInstaller
 
update(File) - Method in interface org.apache.felix.fileinstall.ArtifactInstaller
Update the artifact
update(File) - Method in class org.apache.felix.fileinstall.internal.ConfigInstaller
 
updated(String, Dictionary) - Method in class org.apache.felix.fileinstall.internal.FileInstall
 
USE_START_ACTIVATION_POLICY - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
USE_START_TRANSIENT - Static variable in class org.apache.felix.fileinstall.internal.DirectoryWatcher
 
Util - Class in org.apache.felix.fileinstall.internal
 
Util() - Constructor for class org.apache.felix.fileinstall.internal.Util
 

Z

zipDir(File, ZipOutputStream, String, Set) - Static method in class org.apache.felix.fileinstall.internal.Util
Zip up a directory path

A B C D F G I J L N O P R S T U Z

Copyright © 2011 FuseSource, Corp.. All Rights Reserved.