Package org.apache.felix.ipojo.architecture

Examples of org.apache.felix.ipojo.architecture.ComponentTypeDescription


   
    assertEquals("Check component.properties name [" + 4 + "]", "intAProp", pd2[4].getAttribute("name"));
    assertEquals("Check component.properties type [" + 4 + "]", "int[]", pd2[4].getAttribute("type"));
   
    // Check Description equality
    ComponentTypeDescription desc = (ComponentTypeDescription) sr_fooProviderDyn2.getProperty("component.description");
    assertNotNull("check description equality", desc);
  }
View Full Code Here


   
    assertEquals("Check component.properties name [" + 2 + "]", "baz", pd2[2].getAttribute("name"));
    assertEquals("Check component.properties type [" + 2 + "]", "java.lang.String", pd2[2].getAttribute("type"));
   
    // Check Description equality
    ComponentTypeDescription desc = (ComponentTypeDescription) sr_fooProvider3.getProperty("component.description");
    assertNotNull("check description equality", desc);
  }
View Full Code Here

       
        Element[] pd2 = cd.getElements("property");
        assertNull("Check props null", pd2);
   
    // Check Description equality
        ComponentTypeDescription desc = (ComponentTypeDescription) sr_foobarProvider.getProperty("component.description");
    assertNotNull("check description equality", desc);

  }
View Full Code Here

    /**
     * Gets the component type description.
     * @return the component type description
     */
    public ComponentTypeDescription getComponentTypeDescription() {
        return new ComponentTypeDescription(this);
    }
View Full Code Here

TOP

Related Classes of org.apache.felix.ipojo.architecture.ComponentTypeDescription

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.