Package org.osgi.framework.dto

Examples of org.osgi.framework.dto.BundleDTO


    Bundle bundle = bundleContext.getBundle();
    if (bundle == null)
    {
      return null;
    }
    BundleDTO b = new BundleDTO();
    b.id = bundle.getBundleId();
    b.lastModified = bundle.getLastModified();
    b.state = bundle.getState();
    b.symbolicName = bundle.getSymbolicName();
    b.version = bundle.getVersion().toString();
View Full Code Here


        same(1l, scr);
        same(new ServiceReferenceDTO(), scr);
        same( new String[] {"foo", "bar"}, scr);
        same( new Boolean[] {true, false}, scr);
        same( new Long[] {1l, 2l}, scr);
        same( new DTO[] {new ServiceReferenceDTO(), new BundleDTO()}, scr);
        equalsToString(new int[] {1, 2}, scr);
        equalsToString(Arrays.asList(new int[] {1, 2}), scr);
        equalsToString(Arrays.asList(new String[] {"foo", "bar"}), scr);
    }
View Full Code Here

TOP

Related Classes of org.osgi.framework.dto.BundleDTO

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.