Collection<Component> seamComponents = findSeamComponents();
// Also scan for hot deployed components
HotDeploymentStrategy hotDeployment = HotDeploymentStrategy.instance();
if (hotDeployment != null && hotDeployment.available()) {
log.info("scanning for hot deployable JAX-RS components");
AnnotationDeploymentHandler hotDeploymentHandler =
(AnnotationDeploymentHandler) hotDeployment
.getDeploymentHandlers().get(
AnnotationDeploymentHandler.NAME);