|
Service Management Framework Release 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Framework interface for SMF.
This interface is used to provide a Platform object access to framework functions.
Method Summary | |
org.osgi.framework.Bundle |
createBundle(long id,
BundleFile file,
java.lang.Object localStore,
java.lang.String location)
Creates a Bundle object. |
java.lang.Object |
getLocalStore(org.osgi.framework.Bundle bundle)
Returns the localStore object with which the bundle was created. |
void |
publishFrameworkEvent(int type,
org.osgi.framework.Bundle bundle,
java.lang.Throwable throwable)
Publish a FrameworkEvent. |
java.util.Vector |
selectNativeCode(org.osgi.framework.Bundle bundle)
Selects a native code clause and return a list of the bundle entries for native code to be installed. |
Method Detail |
public org.osgi.framework.Bundle createBundle(long id, BundleFile file, java.lang.Object localStore, java.lang.String location) throws org.osgi.framework.BundleException
id
- Unique context id assigned to bundle.file
- BundleFile object for the bundle.localStore
- Platform specific object for the bundle's local storage.location
- Identity string for the bundle.org.osgi.framework.BundleException
- If the bundle has an invalid manifest.public java.util.Vector selectNativeCode(org.osgi.framework.Bundle bundle) throws org.osgi.framework.BundleException
bundle
- Bundle's manifestorg.osgi.framework.BundleException
- If there is no suitable clause.public void publishFrameworkEvent(int type, org.osgi.framework.Bundle bundle, java.lang.Throwable throwable)
type
- FrameworkEvent type.bundle
- Bundle related to FrameworkEvent.throwable
- Related exception or null.FrameworkEvent
public java.lang.Object getLocalStore(org.osgi.framework.Bundle bundle)
bundle
- Bundle for whose localStore object is to be returned.createBundle(long, com.ibm.osg.smf.platform.BundleFile, java.lang.Object, java.lang.String)
|
Service Management Framework Release 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |