Package org.springframework.osgi.compendium

Examples of org.springframework.osgi.compendium.MultipleSetters


    props.put("prop", "14");
    props.put("integer", new Double(14));
    props.put("dbl", new Float(14));
    props.put("none", "14");
    props.put("float", "14");
    MultipleSetters instance = new MultipleSetters();
    msbm = new DefaultManagedServiceBeanManager(UpdateStrategy.CONTAINER_MANAGED, null, cam, null);
    msbm.applyInitialInjection(instance, props);
    assertEquals(new Double(14), instance.getDbl());
    assertEquals(14, instance.getInteger());
    assertEquals(new Long(14), instance.getProp());
    assertEquals(new Float(0), new Float(instance.getFloat()));
  }
View Full Code Here

TOP

Related Classes of org.springframework.osgi.compendium.MultipleSetters

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.