public static boolean processConnector(ConnectorDescriptor desc, ConnectorConfigProperty ep, Class declaringClass) { // make sure that the RA Class considered here is the one specified in descriptor // If not, it will be processed once the @Connector is selected during post-processing // handle the annotation specified on a ResourceAdapter JavaBean // make sure that the property is not already specified in DD if(desc.getResourceAdapterClass().equals(declaringClass.getName())){ if (!(isConfigDefined(desc.getConfigProperties(), ep))) { desc.addConfigProperty(ep); } if(!desc.getConfigPropertyProcessedClasses().contains(declaringClass.getName())){ processParent(declaringClass.getSuperclass(), desc.getConfigProperties()); desc.addConfigPropertyProcessedClass(declaringClass.getName()); } //indicate that the config-property is processed return true; }else{ //indicate that the config-property is not processed and need to be processed during post-processing return false; } }