|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.util.OsgiUtils
public class OsgiUtils
Utilities for OSGi environments and embedding OSGi containers.
| Constructor Summary | |
|---|---|
OsgiUtils()
|
|
| Method Summary | |
|---|---|
static Set<String> |
getAllBundleExports(FileFilter filter,
Set<String> pkgs)
All the packages that are exported from all bundles found on the system classpath. |
static String |
getBundleExports(File bundle)
Gets the attribute value for the Export-Bundle OSGi Manifest Attribute. |
static Set<File> |
getClasspathCandidates(FileFilter filter)
|
static Set<String> |
splitIntoPackages(String exports,
Set<String> pkgs)
Splits an Package-Export OSGi Manifest Attribute value into packages while stripping away the key/value properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OsgiUtils()
| Method Detail |
|---|
public static Set<String> getAllBundleExports(FileFilter filter,
Set<String> pkgs)
public static Set<String> splitIntoPackages(String exports,
Set<String> pkgs)
exports - The Package-Export OSGi Manifest Attribute value.
public static Set<File> getClasspathCandidates(FileFilter filter)
public static String getBundleExports(File bundle)
bundle - The absolute path to a file bundle.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||