Search in sources :

Example 1 with VodkaService

use of org.apache.xbean.blueprint.example.VodkaService in project geronimo-xbean by apache.

the class VodkaUsingBlueprintTest method testWine.

public void testWine() throws Exception {
    BeanMetadataImpl meta = (BeanMetadataImpl) reg.getComponentDefinition("vodkaService");
    checkPropertyValue("name", "Grey Goose", meta);
    checkPropertyValue("id", "vodkaService", meta);
    // Test more complex classes
    checkPropertyValue("vodkaClass", VodkaService.class.getName(), meta);
}
Also used : BeanMetadataImpl(org.apache.aries.blueprint.reflect.BeanMetadataImpl) VodkaService(org.apache.xbean.blueprint.example.VodkaService)

Aggregations

BeanMetadataImpl (org.apache.aries.blueprint.reflect.BeanMetadataImpl)1 VodkaService (org.apache.xbean.blueprint.example.VodkaService)1