javaImplementation.setJavaClass(javaClass);
try {
javaFactory.createJavaImplementation(javaImplementation, javaImplementation.getJavaClass());
} catch (IntrospectionException e) {
ContributionResolveException ce = new ContributionResolveException(e);
error(monitor, "ContributionResolveException", javaFactory, ce);
//throw ce;
return;
}
checkNoStaticAnnotations(monitor, javaImplementation);
postJAXWSProcessorResolve(resolver, javaImplementation, context);
javaImplementation.setUnresolved(false);
mergeComponentType(resolver, javaImplementation, context);
// FIXME the introspector should always create at least one service
if (javaImplementation.getServices().isEmpty()) {
javaImplementation.getServices().add(assemblyFactory.createService());
}
} catch (Throwable e) {
String message = context.getMonitor().getMessageString(JavaImplementationProcessor.class.getName(),
"impl-javaxml-validation-messages",
"ResolvingJavaImplementation");
message = message.replace("{0}", javaImplementation.getName());
message = message.replace("{1}", e.getMessage());
throw new ContributionResolveException(message, e);
} // end try
} // end method