On Mon, 2008-04-28 at 20:16 -0700, Stanley M. Ho wrote: > 3.2 ModuleDefinition class > Two new methods are added in the ModuleDefinition class to return the > exported packages and member packages respectively. The export and > member definitions contained in the OSGi metadata are in package > granularity. In addition, a new PackageDefinition class is added to > allow an OSGi bundle to expose the metadata for an exported package. > This is required to meet the requirements (1) and (2). > ModuleDefinition class: > public abstract Set<PackageDefinition> getExportedPackageDefinitions(); > public abstract Set<PackageDefinition> getMemberPackageDefinitions(); > > PackageDefinition class: > public abstract class PackageDefinition { > public String getName(); > public Version getVersion(); > public Set<String> getAttributeNames(); > public String getAttribute(String name); > }
ModuleDefinition still refers to exported and member classes. Although this is probably more of an issue for 294/291 interoperation, I don't think 291 has such notions? -- xxxxxxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Chief Scientist JBoss, a division of Red Hat xxxxxxxxxxxxxxxxxxxxxxxxxxxx