Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

AS7-6038, Remove unused DeploymentScanner's bootTimeScan method

  • Loading branch information...
commit 7de83f7a266dd39a000c586bb9d7627e174ca22c 1 parent d1e660e
@soul2zimate soul2zimate authored kabir committed
View
8 ...ner/src/main/java/org/jboss/as/server/deployment/scanner/FileSystemDeploymentService.java
@@ -42,9 +42,7 @@
import java.util.concurrent.locks.ReentrantLock;
import java.util.regex.Pattern;
-import org.jboss.as.controller.OperationContext;
import org.jboss.as.controller.OperationFailedException;
-import org.jboss.as.controller.ServiceVerificationHandler;
import org.jboss.as.controller.operations.common.Util;
import org.jboss.as.server.deployment.DeploymentAddHandler;
import org.jboss.as.server.deployment.DeploymentDeployHandler;
@@ -56,7 +54,6 @@
import org.jboss.as.server.deployment.scanner.api.DeploymentScanner;
import org.jboss.dmr.ModelNode;
import org.jboss.dmr.Property;
-import org.jboss.msc.service.ServiceController;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ARCHIVE;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.CANCELLED;
@@ -246,11 +243,6 @@ public void setDeploymentTimeout(long deploymentTimeout) {
}
@Override
- public void bootTimeScan(final OperationContext context, final ServiceVerificationHandler verificationHandler, final List<ServiceController<?>> newControllers) {
-
- }
-
- @Override
public synchronized void startScanner() {
assert deploymentOperationsFactory != null : "deploymentOperationsFactory is null";
startScanner(deploymentOperationsFactory.create());
View
16 ...t-scanner/src/main/java/org/jboss/as/server/deployment/scanner/api/DeploymentScanner.java
@@ -22,12 +22,7 @@
package org.jboss.as.server.deployment.scanner.api;
-import java.util.List;
-
-import org.jboss.as.controller.OperationContext;
-import org.jboss.as.controller.ServiceVerificationHandler;
import org.jboss.as.server.deployment.scanner.DeploymentOperations;
-import org.jboss.msc.service.ServiceController;
import org.jboss.msc.service.ServiceName;
/**
@@ -138,15 +133,4 @@
*/
void setDeploymentTimeout(long timeout);
- /**
- * Unused legacy method only retained to avoid breaking any custom implementations of this interface.
- *
- * @param context usage unspecified
- * @param verificationHandler usage unspecified
- * @param newControllers usage unspecified
- *
- * @deprecated not implemented in the standard implementation of this interface and not used in the server boot
- */
- @Deprecated
- void bootTimeScan(OperationContext context, ServiceVerificationHandler verificationHandler, List<ServiceController<?>> newControllers);
}
Please sign in to comment.
Something went wrong with that request. Please try again.