A B C F G I M O P R S T 

A

addingService(ServiceReference) - Method in class org.apache.sling.commons.osgi.SortingServiceTracker
 

B

BND_LAST_MODIFIED - Static variable in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Name of the BND attribute that provides the bundle's last modified timestamp
BND_LAST_MODIFIED_MISSING - Static variable in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Value for BundleVersionInfo.getBundleLastModified() if corresponding header is not present
BundleBundleVersionInfo - Class in org.apache.sling.commons.osgi.bundleversion
BundleVersionInfo based on a Bundle object
BundleBundleVersionInfo(Bundle) - Constructor for class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
BundleVersionInfo<T> - Class in org.apache.sling.commons.osgi.bundleversion
Provides bundle version information, which can be extracted from bundle files or Bundle objects.
BundleVersionInfo() - Constructor for class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
 

C

compareTo(BundleVersionInfo<?>) - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Compare based on bundle version info, and for snapshots based on BundleVersionInfo.getBundleLastModified()
createEvent(Bundle, ServiceReference, String, Map<String, Object>) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Create an osgi event with the given topic and properties.

F

FileBundleVersionInfo - Class in org.apache.sling.commons.osgi.bundleversion
BundleVersionInfo based on a bundle jar file
FileBundleVersionInfo(File) - Constructor for class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 

G

getAttributes() - Method in interface org.apache.sling.commons.osgi.ManifestHeader.Entry
The attributes specified for this entry.
getAttributes() - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
getAttributeValue(String) - Method in interface org.apache.sling.commons.osgi.ManifestHeader.Entry
 
getAttributeValue(String) - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
getBundleLastModified() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
getBundleLastModified() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Return the bundle last modification time, based on the BND_LAST_MODIFIED manifest header, if available.
getBundleLastModified() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
getBundleSymbolicName() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
getBundleSymbolicName() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Return the bundle symbolic name, null if not available
getBundleSymbolicName() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
getComparableForServiceRanking(Map<String, Object>) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Create a comparable object out of the service properties.
getComparableForServiceRanking(Map<String, Object>) - Static method in class org.apache.sling.commons.osgi.ServiceUtil
Create a comparable object out of the service properties.
getDirectives() - Method in interface org.apache.sling.commons.osgi.ManifestHeader.Entry
The directives for this entry.
getDirectives() - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
getDirectiveValue(String) - Method in interface org.apache.sling.commons.osgi.ManifestHeader.Entry
 
getDirectiveValue(String) - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
getEntries() - Method in class org.apache.sling.commons.osgi.ManifestHeader
Return the entries for this header.
getName() - Method in class org.apache.sling.commons.osgi.ManifestHeader.NameValuePair
 
getProperty(Object, double) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
since 2.0.4, use OsgiUtil.toDouble(Object, double) instead
getSortedServiceReferences() - Method in class org.apache.sling.commons.osgi.SortingServiceTracker
Return a sorted list of the services references.
getSortedServices() - Method in class org.apache.sling.commons.osgi.SortingServiceTracker
Return a sorted list of the services.
getSource() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
getSource() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Return the source of information: underlying File or Bundle
getSource() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
getValue() - Method in interface org.apache.sling.commons.osgi.ManifestHeader.Entry
The value of the entry.
getValue() - Method in class org.apache.sling.commons.osgi.ManifestHeader.NameValuePair
 
getValue() - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
getVersion() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
getVersion() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Return the bundle version, null if not available
getVersion() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 

I

init(ManifestHeader.NameValuePair[], ManifestHeader.NameValuePair[]) - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
isBundle() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
isBundle() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
True if the provided data is a valid bundle
isBundle() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
isSnapshot() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
isSnapshot() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
True if the bundle version indicates a snapshot
isSnapshot() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 

M

ManifestHeader - Class in org.apache.sling.commons.osgi
This is a helper class to parse manifest header entries.
ManifestHeader() - Constructor for class org.apache.sling.commons.osgi.ManifestHeader
 
ManifestHeader.Entry - Interface in org.apache.sling.commons.osgi
A header can have several entries separated by comma.
ManifestHeader.NameValuePair - Class in org.apache.sling.commons.osgi
Directives and attributes are simple name/value pairs.
ManifestHeader.NameValuePair(String, String) - Constructor for class org.apache.sling.commons.osgi.ManifestHeader.NameValuePair
 
ManifestHeader.PathImpl - Class in org.apache.sling.commons.osgi
 
ManifestHeader.PathImpl(String) - Constructor for class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
modifiedService(ServiceReference, Object) - Method in class org.apache.sling.commons.osgi.SortingServiceTracker
 

O

org.apache.sling.commons.osgi - package org.apache.sling.commons.osgi
 
org.apache.sling.commons.osgi.bundleversion - package org.apache.sling.commons.osgi.bundleversion
 
OsgiUtil - Class in org.apache.sling.commons.osgi
Deprecated.
Use PropertiesUtil and ServiceUtil instead
OsgiUtil() - Constructor for class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
 

P

parse(String) - Static method in class org.apache.sling.commons.osgi.ManifestHeader
Parse headers Like this: path; path; dir1:=dirval1; dir2:=dirval2; attr1=attrval1; attr2=attrval2, path; path; dir1:=dirval1; dir2:=dirval2; attr1=attrval1; attr2=attrval2 The returned object maintains the order of entries (paths), directives and attributes.
PropertiesUtil - Class in org.apache.sling.commons.osgi
The PropertiesUtil is a utility class providing some usefull utility methods for converting property types.
PropertiesUtil() - Constructor for class org.apache.sling.commons.osgi.PropertiesUtil
 

R

removedService(ServiceReference, Object) - Method in class org.apache.sling.commons.osgi.SortingServiceTracker
 

S

ServiceUtil - Class in org.apache.sling.commons.osgi
The ServiceUtil is a utility class providing some usefull utility methods for service handling.
ServiceUtil() - Constructor for class org.apache.sling.commons.osgi.ServiceUtil
 
SNAPSHOT_MARKER - Static variable in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Marker used by Maven to identify snapshots
SortingServiceTracker<T> - Class in org.apache.sling.commons.osgi
Implementation providing a sorted list of services by service ranking.
SortingServiceTracker(BundleContext, String) - Constructor for class org.apache.sling.commons.osgi.SortingServiceTracker
Constructor

T

toBoolean(Object, boolean) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the boolean value of the parameter or the defaultValue if the parameter is null.
toBoolean(Object, boolean) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the boolean value of the parameter or the defaultValue if the parameter is null.
toDouble(Object, double) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as a double or the defaultValue if the parameter is null or if the parameter is not a Double and cannot be converted to a Double from the parameter's string value.
toDouble(Object, double) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as a double or the defaultValue if the parameter is null or if the parameter is not a Double and cannot be converted to a Double from the parameter's string value.
toInteger(Object, int) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as an integer or the defaultValue if the parameter is null or if the parameter is not an Integer and cannot be converted to an Integer from the parameter's string value.
toInteger(Object, int) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as an integer or the defaultValue if the parameter is null or if the parameter is not an Integer and cannot be converted to an Integer from the parameter's string value.
toLong(Object, long) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as a long or the defaultValue if the parameter is null or if the parameter is not a Long and cannot be converted to a Long from the parameter's string value.
toLong(Object, long) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as a long or the defaultValue if the parameter is null or if the parameter is not a Long and cannot be converted to a Long from the parameter's string value.
toMap(Object, String[]) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as a map with string keys and string values.
toObject(Object) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as a single value.
toObject(Object) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as a single value.
toString() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
toString(Object, String) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as a string or the defaultValue if the parameter is null.
toString(Object, String) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as a string or the defaultValue if the parameter is null.
toStringArray(Object) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as an array of Strings.
toStringArray(Object, String[]) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as an array of Strings.
toStringArray(Object) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as an array of Strings.
toStringArray(Object, String[]) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as an array of Strings.
A B C F G I M O P R S T 

Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.