Implementation subjectBimpl = waitForImplByName(null, "subject-b");
CompositeType subjectBCompositeType = (CompositeType) waitForImplByName(
null, "subject-b-composite");
Composite subjectBComposite = (Composite) subjectBCompositeType
.createInstance(null, Collections.<String, String> emptyMap());
// Instance of the subject-a (parent)
Instance subjectB = subjectBimpl
.createInstance(subjectBComposite, null);