1 package com.atlassian.plugin.loaders.classloading;
2
3 import org.slf4j.Logger;
4 import org.slf4j.LoggerFactory;
5
6 import java.util.Collection;
7 import java.util.Collections;
8
9
10
11
12
13
14 public class EmptyScanner implements Scanner {
15 private static final Logger log = LoggerFactory.getLogger(EmptyScanner.class);
16
17 public Collection<DeploymentUnit> scan() {
18 return Collections.emptyList();
19 }
20
21 public Collection<DeploymentUnit> getDeploymentUnits() {
22 return Collections.emptyList();
23 }
24
25 public void reset() {
26
27 }
28
29 public void remove(final DeploymentUnit unit) {
30
31
32 log.warn("EmptyScanner.remove called for {}", unit);
33 }
34 }