Package de.matrixweb.smaller.client.osgi

Examples of de.matrixweb.smaller.client.osgi.BundleSelector


  }

  private void setupVfs(final VFS vfs, final Environment env) throws IOException {
    final ServiceReference<BundleSelector> ref = this.bundleContext.getServiceReference(BundleSelector.class);
    try {
      BundleSelector bundleSelector = null;
      if (ref != null) {
        bundleSelector = this.bundleContext.getService(ref);
      }

      final List<WrappedSystem> files = new ArrayList<WrappedSystem>();
      for (final Bundle bundle : this.bundleContext.getBundles()) {
        if (bundleSelector != null) {
          if (bundleSelector.shouldInclude(env, bundle)) {
            for (String folder : env.getFiles().getFolder()) {
              if (!folder.endsWith("/")) {
                folder = folder + '/';
              }
              files
View Full Code Here

TOP

Related Classes of de.matrixweb.smaller.client.osgi.BundleSelector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.