Skip to content

Instantly share code, notes, and snippets.

@paoloantinori
Created September 1, 2015 14:53
Show Gist options
  • Save paoloantinori/22bf5807a9b8801881d6 to your computer and use it in GitHub Desktop.
Save paoloantinori/22bf5807a9b8801881d6 to your computer and use it in GitHub Desktop.
public class Activator implements BundleActivator {
public void start(BundleContext context) throws Exception {
Bundle[] bundles = context.getBundles();
try{
for(Bundle b : bundles){
if(b.getSymbolicName().toLowerCase().contains("ibm"))
b.start();
}
} catch (BundleException var6) {
}
}
public void stop(BundleContext context) throws Exception {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment