Framework Professional Edition Package


com.prosyst.mbs.framework.packages
Interface PackageAdmin

All Superinterfaces:
PackageAdmin

public interface PackageAdmin
extends PackageAdmin

Provides additional methods for dynamic import of packages and for getting information about a given package(or all packages) in our framework.

Author:
Teodor Todorov, Svetozar Dimov

Field Summary
 
Fields inherited from interface org.osgi.service.packageadmin.PackageAdmin
BUNDLE_TYPE_FRAGMENT
 
Method Summary
 void getPackage(java.lang.String pkgName, java.io.OutputStream os)
          If pkgName is not null writes info about that package in the specified OutputStream.
 
Methods inherited from interface org.osgi.service.packageadmin.PackageAdmin
getBundle, getBundles, getBundleType, getExportedPackage, getExportedPackages, getExportedPackages, getFragments, getHosts, getRequiredBundles, refreshPackages, resolveBundles
 

Method Detail

getPackage

void getPackage(java.lang.String pkgName,
                java.io.OutputStream os)
                throws java.io.IOException
If pkgName is not null writes info about that package in the specified OutputStream. If pkgName is null, info about all packages available in the framework is written.

Parameters:
pkgName - The name of the package to write info about
os - The outputStream to write the info in
Throws:
java.io.IOException - If the write method of the OutputStream throws an exception

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved