import java.util.Timer;
import java.util.TimerTask;
+import javax.annotation.PostConstruct;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
this.artifactDownloadManager = artifactDownloadManager;
}
+ @PostConstruct
+ protected void start() {
+ if (!config.getASDCConnectionDisabled()) {
+ initSdcClient();
+ }
+ }
+
/**
* Responsible for stopping the connection to the distribution client before the resource is destroyed.
*/