A B C D E F G H I L N O P R S T W

A

AbstractBundleCommand - Class in org.apache.karaf.shell.dev
Base class for a dev: command that takes a bundle id as an argument It also provides convient access to the PackageAdmin service
AbstractBundleCommand() - Constructor for class org.apache.karaf.shell.dev.AbstractBundleCommand
 
add(String) - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
Adds a Bundle URLs to the watch list.
addChild(T) - Method in class org.apache.karaf.shell.dev.util.Node
Adds a child to this node

B

bundleChanged(BundleEvent) - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
Bundles - Class in org.apache.karaf.shell.dev.util
A set of utility methods for working with Bundles
Bundles() - Constructor for class org.apache.karaf.shell.dev.util.Bundles
 
BundleWatcher - Class in org.apache.karaf.shell.dev.watch
A Runnable singleton which watches at the defined location for bundle updates.
BundleWatcher() - Constructor for class org.apache.karaf.shell.dev.watch.BundleWatcher
Construcotr

C

copyTextToFile(InputStream, File) - Static method in class org.apache.karaf.shell.dev.util.IO
Write text from an InputStream to a file
createTree(Bundle) - Method in class org.apache.karaf.shell.dev.ShowBundleTree
 

D

disableDebug(File) - Method in class org.apache.karaf.shell.dev.framework.Equinox
 
disableDebug(File) - Method in class org.apache.karaf.shell.dev.framework.Felix
 
disableDebug(File) - Method in class org.apache.karaf.shell.dev.framework.Framework
Disable the OSGI framework's debug logging
doExecute() - Method in class org.apache.karaf.shell.dev.AbstractBundleCommand
 
doExecute(Bundle) - Method in class org.apache.karaf.shell.dev.AbstractBundleCommand
 
doExecute(Bundle) - Method in class org.apache.karaf.shell.dev.DynamicImport
 
doExecute() - Method in class org.apache.karaf.shell.dev.FrameworkOptions
 
doExecute() - Method in class org.apache.karaf.shell.dev.PrintStackTraces
 
doExecute() - Method in class org.apache.karaf.shell.dev.Restart
 
doExecute(Bundle) - Method in class org.apache.karaf.shell.dev.ShowBundleTree
 
doExecute() - Method in class org.apache.karaf.shell.dev.Watch
 
DynamicImport - Class in org.apache.karaf.shell.dev
Command for enabling/disabling debug logging on a bundle and calculating the difference in wired imports.
DynamicImport() - Constructor for class org.apache.karaf.shell.dev.DynamicImport
 

E

enableDebug(File) - Method in class org.apache.karaf.shell.dev.framework.Equinox
 
enableDebug(File) - Method in class org.apache.karaf.shell.dev.framework.Felix
 
enableDebug(File) - Method in class org.apache.karaf.shell.dev.framework.Framework
Enable the OSGi framework's debug logging
Equinox - Class in org.apache.karaf.shell.dev.framework
Represents Eclipse's Equinox as the underlying OSGi framework
Equinox(File) - Constructor for class org.apache.karaf.shell.dev.framework.Equinox
Create a new instance

F

Felix - Class in org.apache.karaf.shell.dev.framework
Represents Apache Felix as the underlying OSGi platform
Felix(File) - Constructor for class org.apache.karaf.shell.dev.framework.Felix
Create a instance of Karaf running with Felix in the given base directory
flatten() - Method in class org.apache.karaf.shell.dev.util.Node
Give a set of values in the tree.
Framework - Class in org.apache.karaf.shell.dev.framework
Class to represent the underlying OSGi framework
Framework(File) - Constructor for class org.apache.karaf.shell.dev.framework.Framework
Create a instance of this framework in the given base directory
FrameworkOptions - Class in org.apache.karaf.shell.dev
Command for enabling/disabling debug logging on the OSGi framework
FrameworkOptions() - Constructor for class org.apache.karaf.shell.dev.FrameworkOptions
 

G

getBundleContext() - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
getBundleExternalLocation(File, Bundle) - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
Returns the location of the Bundle inside the local maven repository.
getBundlesByURL(String) - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
Returns the bundles that match
getChildren() - Method in class org.apache.karaf.shell.dev.util.Node
Access the node's child nodes
getConfig() - Method in class org.apache.karaf.shell.dev.framework.Framework
Access the contents of the etc/config.properties file
getConfigurationAdmin() - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
getFramework() - Method in class org.apache.karaf.shell.dev.FrameworkOptions
 
getInterval() - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
getLocalRepository() - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
getName() - Method in class org.apache.karaf.shell.dev.framework.Equinox
 
getName() - Method in class org.apache.karaf.shell.dev.framework.Felix
 
getName() - Method in class org.apache.karaf.shell.dev.framework.Framework
Get the underlying OSGi framework name
getPackage() - Method in class org.apache.karaf.shell.dev.util.Import
 
getPackageAdmin() - Method in class org.apache.karaf.shell.dev.AbstractBundleCommand
 
getValue() - Method in class org.apache.karaf.shell.dev.util.Node
Access the node's value
getVersion() - Method in class org.apache.karaf.shell.dev.util.Import
 
getWatcher() - Method in class org.apache.karaf.shell.dev.Watch
 
getWatchURLs() - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
getWiredBundles(Bundle) - Method in class org.apache.karaf.shell.dev.AbstractBundleCommand
 

H

hasAncestor(T) - Method in class org.apache.karaf.shell.dev.util.Node
Check if the node has an ancestor that represents the given value

I

Import - Class in org.apache.karaf.shell.dev.util
Simple class to model an OSGi Import-Package
Import(String) - Constructor for class org.apache.karaf.shell.dev.util.Import
Create a new import based on the string value found in MANIFEST.MF
IO - Class in org.apache.karaf.shell.dev.util
Helper class for I/O operations
IO() - Constructor for class org.apache.karaf.shell.dev.util.IO
 
isMavenSnapshotUrl(String) - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
isRunning() - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 

L

list - Variable in class org.apache.karaf.shell.dev.Watch
 

N

NAME - Static variable in class org.apache.karaf.shell.dev.framework.Equinox
 
NAME - Static variable in class org.apache.karaf.shell.dev.framework.Felix
 
Node<T> - Class in org.apache.karaf.shell.dev.util
Represents a node in a Tree
Node(T) - Constructor for class org.apache.karaf.shell.dev.util.Node
Creates a new node.
Node(T, Node<T>) - Constructor for class org.apache.karaf.shell.dev.util.Node
Creates a new node.

O

org.apache.karaf.shell.dev - package org.apache.karaf.shell.dev
 
org.apache.karaf.shell.dev.framework - package org.apache.karaf.shell.dev.framework
 
org.apache.karaf.shell.dev.util - package org.apache.karaf.shell.dev.util
 
org.apache.karaf.shell.dev.watch - package org.apache.karaf.shell.dev.watch
 
ORIGINAL_WIRES - Static variable in class org.apache.karaf.shell.dev.DynamicImport
The header key where we store the active wires when we enable DynamicImport=*

P

parse(String) - Static method in class org.apache.karaf.shell.dev.util.Import
Parse the value of an Import-Package META-INF header and return a list of Import instances
parse(String, String) - Static method in class org.apache.karaf.shell.dev.util.Import
Parse the value of an Import-Package META-INF header and return a list of Import instances, filtering out packages that are in the Export-Package META-INF header
PrintStackTraces - Class in org.apache.karaf.shell.dev
Command for showing the full tree of bundles that have been used to resolve a given bundle.
PrintStackTraces() - Constructor for class org.apache.karaf.shell.dev.PrintStackTraces
 

R

readPropertyFile(File) - Method in class org.apache.karaf.shell.dev.framework.Framework
 
remove(String) - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
Removes a bundle URLs from the watch list.
remove - Variable in class org.apache.karaf.shell.dev.Watch
 
removeConfigProperty(String) - Method in class org.apache.karaf.shell.dev.framework.Framework
Remove an existing key from the etc/config.properties file
Restart - Class in org.apache.karaf.shell.dev
A command to restart karaf
Restart() - Constructor for class org.apache.karaf.shell.dev.Restart
 
retrieveMavenConfiguration() - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
run() - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 

S

saveConfigProperties() - Method in class org.apache.karaf.shell.dev.framework.Framework
 
setBundleContext(BundleContext) - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
setConfigProperty(String, String) - Method in class org.apache.karaf.shell.dev.framework.Framework
Set a new key and value in the etc/config.properties - if the given key already exists, the existing value will be overwritten
setConfigurationAdmin(ConfigurationAdmin) - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
setInterval(long) - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
setWatcher(BundleWatcher) - Method in class org.apache.karaf.shell.dev.Watch
 
setWatchURLs(List<String>) - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
ShowBundleTree - Class in org.apache.karaf.shell.dev
Command for showing the full tree of bundles that have been used to resolve a given bundle.
ShowBundleTree() - Constructor for class org.apache.karaf.shell.dev.ShowBundleTree
 
start() - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
 
start - Variable in class org.apache.karaf.shell.dev.Watch
 
stop() - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
Stops the execution of the thread and releases the singleton instance
stop - Variable in class org.apache.karaf.shell.dev.Watch
 

T

toString(int) - Static method in class org.apache.karaf.shell.dev.util.Bundles
Return a String representation of a bundle state
toString() - Method in class org.apache.karaf.shell.dev.util.Import
 
toString(Node<T>) - Method in interface org.apache.karaf.shell.dev.util.Tree.Converter
 
Tree<T> - Class in org.apache.karaf.shell.dev.util
Represents a tree that can be written to the console.
Tree(T) - Constructor for class org.apache.karaf.shell.dev.util.Tree
Creates a new tree with the given root node
Tree.Converter<T> - Interface in org.apache.karaf.shell.dev.util
Interface to convert node values to string

W

Watch - Class in org.apache.karaf.shell.dev
 
Watch() - Constructor for class org.apache.karaf.shell.dev.Watch
 
wildCardMatch(String, String) - Method in class org.apache.karaf.shell.dev.watch.BundleWatcher
Matches text using a pattern containing wildcards.
write(PrintWriter, Tree.Converter<T>, boolean...) - Method in class org.apache.karaf.shell.dev.util.Node
 
write(PrintStream) - Method in class org.apache.karaf.shell.dev.util.Tree
Write the tree to a PrintStream, using the default toString() method to output the node values
write(PrintStream, Tree.Converter<T>) - Method in class org.apache.karaf.shell.dev.util.Tree
Write the tree to a PrintStream, using the provided converter to output the node values
write(PrintWriter) - Method in class org.apache.karaf.shell.dev.util.Tree
Write the tree to a PrintWriter, using the default toString() method to output the node values
write(PrintWriter, Tree.Converter<T>) - Method in class org.apache.karaf.shell.dev.util.Tree
Write the tree to a PrintWriter, using the provided converter to output the node values

A B C D E F G H I L N O P R S T W

Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.