1 40 41 package com.sun.jmx.examples.scandir; 42 43 import com.sun.jmx.examples.scandir.ScanManagerMXBean.ScanState; 44 import com.sun.jmx.examples.scandir.config.DirectoryScannerConfig; 45 import java.io.IOException ; 46 import javax.management.InstanceNotFoundException ; 47 48 63 public interface DirectoryScannerMXBean { 64 72 public ScanState getState() 73 throws IOException , InstanceNotFoundException ; 74 75 84 public void stop() 85 throws IOException , InstanceNotFoundException ; 86 87 113 public void scan() 114 throws IOException , InstanceNotFoundException ; 115 116 131 public String getRootDirectory() 132 throws IOException , InstanceNotFoundException ; 133 134 152 public DirectoryScannerConfig getConfiguration() 153 throws IOException , InstanceNotFoundException ; 154 155 163 public String getCurrentScanInfo() 164 throws IOException , InstanceNotFoundException ; 165 } 166 167 168 | Popular Tags |