private static final DotName WEB_SERVICE_REF_ANNOTATION_NAME = DotName.createSimple(WebServiceRef.class.getName());
private static final DotName WEB_SERVICE_REFS_ANNOTATION_NAME = DotName.createSimple(WebServiceRefs.class.getName());
/** {@inheritDoc} **/
protected void processComponentConfig(final DeploymentUnit deploymentUnit, final DeploymentPhaseContext phaseContext, final CompositeIndex index, final AbstractComponentDescription description) throws DeploymentUnitProcessingException {
EndpointRegistry registry = (EndpointRegistry) deploymentUnit.getServiceRegistry().getService(WSServices.REGISTRY_SERVICE).getValue();
for (ObjectName name: registry.getEndpoints()) {
Logger.getLogger(this.getClass()).fatal(name.toString());
}
final ClassInfo classInfo = index.getClassByName(DotName.createSimple(description.getComponentClassName()));
if(classInfo == null) {
return; // We can't continue without the annotation index info.