public void merge ( final List < ResteasyDeploymentData > deploymentData ) throws DeploymentUnitProcessingException { for ( ResteasyDeploymentData data : deploymentData ) { scannedApplicationClasses . addAll ( data . getScannedApplicationClasses ( ) ) ; if ( scanResources ) { scannedResourceClasses . addAll ( data . getScannedResourceClasses ( ) ) ; scannedJndiComponentResources . addAll ( data . getScannedJndiComponentResources ( ) ) ; } if ( scanProviders ) { scannedProviderClasses . addAll ( data . getScannedProviderClasses ( ) ) ; } } }
Merges a list of additional JAX - RS deployment data with this lot of deployment data .