JavaInterfaceFactory javaInterfaceFactory = getJavaInterfaceFactory(compositeContext);
try {
javaInterfaceFactory.createJavaInterface(javaInterface, javaInterface.getJavaClass());
} catch (InvalidInterfaceException e) {
throw new ServiceRuntimeException(e);
}
//FIXME: If the interface needs XSDs to be loaded (e.g., for static SDO),
// this needs to be done here. We usually search for XSDs in the current
// contribution at resolve time. Is it possible to locate the current
// contribution at runtime?