ClassLoadingMetaDataFactory factory = ClassLoadingMetaDataFactory.getInstance();
capabilities = new CopyOnWriteArrayList<Capability>();
// We have a module capability
Object version = getVersion();
Capability capability = factory.createModule(getName(), version);
capabilities.add(capability);
MockClassLoadingMetaData metadata = getClassLoadingMetaData();
String[] exported = metadata.getExportedPackages();
// Do we determine package capabilities?