/**
 * Copyright 2015-2016 Red Hat, Inc, and individual contributors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.wildfly.swarm.scanner;

import org.wildfly.swarm.spi.api.Fraction;
import org.wildfly.swarm.spi.api.annotations.WildFlyExtension;

/**
 * @author Heiko Braun
 */
@WildFlyExtension(module = "org.jboss.as.deployment-scanner")
public class ScannerFraction implements Fraction<ScannerFraction> {
}

@@ -686,24 +686,191 @@
 arm.
-spi.api.Fraction
+config.DeploymentScanner;%0Aimport org.wildfly.swarm.spi.api.Fraction;%0Aimport org.wildfly.swarm.spi.api.annotations.Configurable;%0Aimport org.wildfly.swarm.spi.api.annotations.MarshalDMR
 ;%0Aim
@@ -962,16 +962,28 @@
 aun%0A */%0A
+@MarshalDMR%0A
 @WildFly
@@ -1040,36 +1040,125 @@
 r%22)%0A
-public class ScannerFraction
+@Configurable(%22thorntail.deployment-scanner%22)%0Apublic class ScannerFraction extends DeploymentScanner%3CScannerFraction%3E
  imp

add ability to configure deployment scanner using Config API