Service Management Framework
Release 3.1
B C D F G I L M O P R S T U

B

BundleEntry - class com.ibm.osg.smf.platform.BundleEntry.
This class represents an entry in a BundleFile.
BundleEntry.OSMemory - class com.ibm.osg.smf.platform.BundleEntry.OSMemory.
Implementation of BundleEntry using an OSMemory for the storage.
BundleEntry.OSMemory(OSMemory, String) - Constructor for class com.ibm.osg.smf.platform.BundleEntry.OSMemory
Construct a BundleEntry using an OSMemory object.
BundleFile - class com.ibm.osg.smf.platform.BundleFile.
This class represents a bundle file.
BundleFile.File - class com.ibm.osg.smf.platform.BundleFile.File.
Implementation of BundleFile using a File for the bundle storage.
BundleFile.File(File) - Constructor for class com.ibm.osg.smf.platform.BundleFile.File
Construct a BundleFile from a file.
BundleFile.OSMemory - class com.ibm.osg.smf.platform.BundleFile.OSMemory.
Implementation of BundleFile using an OSMemory for the bundle storage.
BundleFile.OSMemory(OSMemory, String) - Constructor for class com.ibm.osg.smf.platform.BundleFile.OSMemory
Construct a BundleFile from an OSMemory.
BundleFile() - Constructor for class com.ibm.osg.smf.platform.BundleFile
Default constructor for subclasses to use.
BundleStorage - interface com.ibm.osg.smf.platform.BundleStorage.
Bundle Storage interface for managing a persistent storage life cycle operation upon a bundle.

C

close() - Method in class com.ibm.osg.smf.SMF
Destroy the SMF framework.
close() - Method in class com.ibm.osg.smf.platform.BundleFile
Closes the BundleFile.
close() - Method in class com.ibm.osg.smf.platform.BundleFile.File
 
close() - Method in class com.ibm.osg.smf.platform.BundleFile.OSMemory
 
com.ibm.osg.smf.platform - package com.ibm.osg.smf.platform
The Service Management Framework Platform Specification.
com.ibm.osg.smf.platform.flash - package com.ibm.osg.smf.platform.flash
 
commit(boolean) - Method in interface com.ibm.osg.smf.platform.BundleStorage
Commit the change to persistent storage.
compactStorage() - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Clean up the persistent storage.
compactStorage() - Method in interface com.ibm.osg.smf.platform.Platform
Compact/cleanup the persistent storage for the platform.
compactStorage() - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Cleans the persistent storage.
console(String[]) - Method in class com.ibm.osg.smf.SMFConsole
Command Line Interface for SMF.
ContentLength - interface com.ibm.osg.smf.platform.ContentLength.
Interface to mark that the class implements the getContentLength() method.
createBundle(long, BundleFile, Object, String) - Method in interface com.ibm.osg.smf.platform.Framework
Creates a Bundle object.

D

DATA_DIR - Static variable in class com.ibm.osg.smf.platform.flash.FlashBundleStore
The name of the data subdirectory in the bundles local store.
DEFAULT_FLASH_FILE - Static variable in class com.ibm.osg.smf.platform.flash.FlashBundleStore
 
DEFAULT_FLASH_FILE_SIZE_MB - Static variable in class com.ibm.osg.smf.platform.flash.FlashBundleStore
 
DefaultPlatform - class com.ibm.osg.smf.platform.DefaultPlatform.
A default Platform class for SMF.
DefaultPlatform(String[]) - Constructor for class com.ibm.osg.smf.platform.DefaultPlatform
Constructor for DefaultPlatform.

F

findLibrary(Bundle, String) - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Returns the absolute path name of a native library for the bundle.
findLibrary(Bundle, String) - Method in interface com.ibm.osg.smf.platform.Platform
Returns the absolute path name of a native library for a bundle.
findLibrary(Bundle, String) - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Returns the absolute path name of a native library or null if not found.
FlashBundleStore - class com.ibm.osg.smf.platform.flash.FlashBundleStore.
Provides an implementation of a Bundle Store which stores bundles and bundle information in Flash memory.
FlashBundleStore(String[]) - Constructor for class com.ibm.osg.smf.platform.flash.FlashBundleStore
Creates and prepares the flash bundle store according to the options.
Framework - interface com.ibm.osg.smf.platform.Framework.
Framework interface for SMF.

G

getBundleContext() - Method in class com.ibm.osg.smf.SMF
Retrieve the BundleContext for the system bundle.
getContentLength() - Method in interface com.ibm.osg.smf.platform.ContentLength
Returns the content length of the receiver or -1 if unknown.
getDataFile(Bundle, String) - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Creates a File object for a file in the persistent storage area provided for the bundle by the framework.
getDataFile(Bundle, String) - Method in interface com.ibm.osg.smf.platform.Platform
Creates a File object for a file in the persistent storage area provided for the bundle by the framework.
getDataFile(Bundle, String) - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Creates a File object for a file in the persistent storage area provided for the bundle by the framework.
getEntry(String) - Method in class com.ibm.osg.smf.platform.BundleFile
Returns a BundleEntry object for the named entry in the bundle.
getEntry(String) - Method in class com.ibm.osg.smf.platform.BundleFile.File
 
getEntry(String) - Method in class com.ibm.osg.smf.platform.BundleFile.OSMemory
 
getInput() - Method in class com.ibm.osg.smf.SMFConsole
Reads a string from standard input until user hits the Enter key.
getInputStream() - Method in class com.ibm.osg.smf.platform.BundleFile
Return an InputStream for the bundle.
getInputStream() - Method in class com.ibm.osg.smf.platform.BundleFile.File
 
getInputStream() - Method in class com.ibm.osg.smf.platform.BundleFile.OSMemory
 
getInputStream() - Method in class com.ibm.osg.smf.platform.BundleEntry
Return an InputStream for the entry.
getInputStream() - Method in class com.ibm.osg.smf.platform.BundleEntry.OSMemory
 
getInstalledBundles() - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Return a list of the installed bundles.
getInstalledBundles() - Method in interface com.ibm.osg.smf.platform.Platform
Return a list of the installed bundles.
getInstalledBundles() - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Returns an array of all installed Bundles.
getLocalStore(Bundle) - Method in interface com.ibm.osg.smf.platform.Framework
Returns the localStore object with which the bundle was created.
getLocations() - Method in interface com.ibm.osg.smf.platform.PermissionStorage
Returns the locations that have permission data assigned to them, that is, locations for which permission data exists in persistent storage.
getMetadata(Bundle) - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Get the metadata string for a bundle.
getMetadata(Bundle) - Method in interface com.ibm.osg.smf.platform.Platform
Get the metadata string for a bundle.
getMetadata(Bundle) - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Returns the metadata string for a bundle.
getName() - Method in class com.ibm.osg.smf.platform.BundleFile
Return name of the bundle.
getName() - Method in class com.ibm.osg.smf.platform.BundleFile.File
 
getName() - Method in class com.ibm.osg.smf.platform.BundleFile.OSMemory
 
getName() - Method in class com.ibm.osg.smf.platform.BundleEntry
Return the name of the entry.
getName() - Method in class com.ibm.osg.smf.platform.BundleEntry.OSMemory
 
getPermissionData(String) - Method in interface com.ibm.osg.smf.platform.PermissionStorage
Gets the permission data assigned to the specified location.
getPermissionStorage() - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Returns the PermissionStorage object which will be used to to manage the permission data.
getPermissionStorage() - Method in interface com.ibm.osg.smf.platform.Platform
Returns the PermissionStorage object which will be used to to manage the permission data.
getPermissionStorage() - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Returns the PermissionStorage object which will be used to to manage the permission data.
getProperties() - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Return the properties object for the platform.
getProperties() - Method in interface com.ibm.osg.smf.platform.Platform
Return the properties object for the platform.
getProperties() - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Returns the properties object for the platform.
getReader() - Method in class com.ibm.osg.smf.SMFConsole
Return the current input BufferedReader
getSize() - Method in class com.ibm.osg.smf.platform.BundleFile
Returns size of the bundle.
getSize() - Method in class com.ibm.osg.smf.platform.BundleFile.File
 
getSize() - Method in class com.ibm.osg.smf.platform.BundleFile.OSMemory
 
getSize() - Method in class com.ibm.osg.smf.platform.BundleEntry
Return the size of the entry (uncompressed).
getSize() - Method in class com.ibm.osg.smf.platform.BundleEntry.OSMemory
 
getStatus(Bundle) - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Get the status data for a bundle.
getStatus(Bundle) - Method in interface com.ibm.osg.smf.platform.Platform
Get the status data for a bundle.
getStatus(Bundle) - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Returns the given bundle's status as recorded in the bundle management information.
getTime() - Method in class com.ibm.osg.smf.platform.BundleEntry
Get the modification time for this BundleEntry.
getTotalFreeSpace() - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Returns the total amount of free space available for bundle storage on the device.
getTotalFreeSpace() - Method in interface com.ibm.osg.smf.platform.Platform
Returns the total amount of free space available for bundle storage on the device.
getTotalFreeSpace() - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Returns the total amount of free space available for bundle storage on the device.
getUseSocketStream() - Method in class com.ibm.osg.smf.SMFConsole
 
getWriter() - Method in class com.ibm.osg.smf.SMFConsole
Return the current output PrintWriter

I

initialize(Framework) - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Initialize the Platform object so that it is ready to be called by the framework.
initialize(Framework) - Method in interface com.ibm.osg.smf.platform.Platform
Initialize the Platform object so that it is ready to be called by the framework.
initialize(Framework) - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Initializes the Platform object so that it is ready to be called by the framework.
initializeStorage() - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Initialize the persistent storage.
initializeStorage() - Method in interface com.ibm.osg.smf.platform.Platform
Initialize the persistent storage for the platform.
initializeStorage() - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Initializes the bundle's data storage.
installBundle(String, URLConnection) - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Prepare to install a bundle from a URLConnection.
installBundle(String, URLConnection) - Method in interface com.ibm.osg.smf.platform.Platform
Prepare to install a bundle from a URLConnection.
installBundle(String, URLConnection) - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Prepares to install a bundle from a URLConnection.
isActive() - Method in class com.ibm.osg.smf.SMF
This method returns the state of SMF.

L

launch() - Method in class com.ibm.osg.smf.SMF
Start the framework.

M

main(String[]) - Static method in class com.ibm.osg.smf.SMF
main method for SMF.
main(String[]) - Static method in class com.ibm.osg.smf.SMFConsole
main method for SMFConsole.
main(String[]) - Static method in class com.ibm.osg.smf.SMFLauncher
main method for SMFLauncher.
mapLocationToURLConnection(String) - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Map a location to a URLConnection.
mapLocationToURLConnection(String) - Method in interface com.ibm.osg.smf.platform.Platform
Map a location to a URLConnection.
mapLocationToURLConnection(String) - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Maps a location to an InputStream.
modify() - Method in interface com.ibm.osg.smf.platform.BundleStorage
Perform the change to persistent storage.

O

open() - Method in class com.ibm.osg.smf.platform.BundleFile
Open the BundleFile.
open() - Method in class com.ibm.osg.smf.platform.BundleFile.File
 
open() - Method in class com.ibm.osg.smf.platform.BundleFile.OSMemory
 

P

PermissionStorage - interface com.ibm.osg.smf.platform.PermissionStorage.
Permission Storage interface for managing a persistent storage of bundle permissions.
Platform - interface com.ibm.osg.smf.platform.Platform.
Platform interface to SMF.
publishFrameworkEvent(int, Bundle, Throwable) - Method in interface com.ibm.osg.smf.platform.Framework
Publish a FrameworkEvent.

R

run() - Method in class com.ibm.osg.smf.SMFConsole
Begin doing the active part of the class' code.

S

selectNativeCode(Bundle) - Method in interface com.ibm.osg.smf.platform.Framework
Selects a native code clause and return a list of the bundle entries for native code to be installed.
setMetadata(Bundle, String) - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Set the metadata for a bundle.
setMetadata(Bundle, String) - Method in interface com.ibm.osg.smf.platform.Platform
Set the metadata for a bundle.
setMetadata(Bundle, String) - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Set the metadata for a bundle.
setPermissionData(String, String[]) - Method in interface com.ibm.osg.smf.platform.PermissionStorage
Assigns the specified permission data to the specified location.
setStatus(Bundle, int) - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Set the status data for a bundle.
setStatus(Bundle, int) - Method in interface com.ibm.osg.smf.platform.Platform
Set the status data for a bundle.
setStatus(Bundle, int) - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Updates the status of the given bundle.
setTime(long) - Method in class com.ibm.osg.smf.platform.BundleEntry
Set the modification time for this BundleEntry.
shutdown() - Method in class com.ibm.osg.smf.SMF
Stop the framework.
SMF - class com.ibm.osg.smf.SMF.
Main class for SMF.
SMF() - Constructor for class com.ibm.osg.smf.SMF
Constructs a SMF object with a DefaultPlatform (com.ibm.osg.smf.platform.DefaultPlatform).
SMF(Platform) - Constructor for class com.ibm.osg.smf.SMF
Constructs a SMF object with the specified Platform.
SMFConsole - class com.ibm.osg.smf.SMFConsole.
This class starts SMF with a console for development use.
SMFConsole(SMF, int, String[]) - Constructor for class com.ibm.osg.smf.SMFConsole
Constructor for SMFConsole.
SMFConsole(SMF, String[]) - Constructor for class com.ibm.osg.smf.SMFConsole
Constructor for SMFConsole.
SMFLauncher - class com.ibm.osg.smf.SMFLauncher.
This class provides an entry point for launching SMF.
SMFLauncher() - Constructor for class com.ibm.osg.smf.SMFLauncher
Default constructor.

T

toBundleFile() - Method in class com.ibm.osg.smf.platform.BundleEntry
Create a BundleFile object which uses this entry for the bundle storage.
toJxe() - Method in class com.ibm.osg.smf.platform.BundleFile
Create and return a Jxe object for the bundle.
toJxe() - Method in class com.ibm.osg.smf.platform.BundleFile.File
 
toJxe() - Method in class com.ibm.osg.smf.platform.BundleFile.OSMemory
 
toString() - Method in class com.ibm.osg.smf.platform.BundleFile
Return the name of this BundleFile by calling getName().
toString() - Method in class com.ibm.osg.smf.platform.BundleEntry
Return the name of this BundleEntry by calling getName().

U

undo() - Method in interface com.ibm.osg.smf.platform.BundleStorage
Undo the change to persistent storage.
uninstallBundle(Bundle) - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Prepare to uninstall a bundle.
uninstallBundle(Bundle) - Method in interface com.ibm.osg.smf.platform.Platform
Prepare to uninstall a bundle.
uninstallBundle(Bundle) - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Prepares to uninstall a bundle.
updateBundle(Bundle, URLConnection) - Method in class com.ibm.osg.smf.platform.DefaultPlatform
Prepare to update a bundle from a URLConnection.
updateBundle(Bundle, URLConnection) - Method in interface com.ibm.osg.smf.platform.Platform
Prepare to update a bundle from a URLConnection.
updateBundle(Bundle, URLConnection) - Method in class com.ibm.osg.smf.platform.flash.FlashBundleStore
Prepares to update a bundle from a URLConnection.

B C D F G I L M O P R S T U
Service Management Framework
Release 3.1

Licensed Materials - Property of IBM. (C) Copyright IBM Corp. 2000, 2002 All Rights Reserved. IBM is a registered trademark of IBM Corp.