1 7 8 package javax.management.loading; 9 10 import java.net.URL ; 11 import java.io.InputStream ; 12 import java.io.IOException ; 13 import java.util.Set ; 14 import java.util.Enumeration ; 15 16 import javax.management.*; 17 18 19 20 26 public interface MLetMBean { 27 28 29 49 public Set getMBeansFromURL(String url) throws ServiceNotFoundException ; 50 51 71 public Set getMBeansFromURL(URL url) throws ServiceNotFoundException ; 72 73 79 public void addURL(URL url) ; 80 81 89 public void addURL(String url) throws ServiceNotFoundException; 90 91 98 public URL [] getURLs(); 99 100 110 public URL getResource(String name); 111 112 120 public InputStream getResourceAsStream(String name); 121 122 138 public Enumeration getResources(String name) throws IOException ; 139 140 148 public String getLibraryDirectory(); 149 150 158 public void setLibraryDirectory(String libdir); 159 160 } 161 | Popular Tags |