Home » openjdk-7 » javax » management » loading » [javadoc | source]
javax.management.loading
public interface: MLetMBean [javadoc | source]

All Known Implementing Classes:
    PrivateMLet, MLet

Exposes the remote management interface of the MLet MBean.
Method from javax.management.loading.MLetMBean Summary:
addURL,   addURL,   getLibraryDirectory,   getMBeansFromURL,   getMBeansFromURL,   getResource,   getResourceAsStream,   getResources,   getURLs,   setLibraryDirectory
Method from javax.management.loading.MLetMBean Detail:
 public  void addURL(URL url)
    Appends the specified URL to the list of URLs to search for classes and resources.
 public  void addURL(String url) throws ServiceNotFoundException
    Appends the specified URL to the list of URLs to search for classes and resources.
 public String getLibraryDirectory()
    Gets the current directory used by the library loader for storing native libraries before they are loaded into memory.
 public Set<Object> getMBeansFromURL(String url) throws ServiceNotFoundException
    Loads a text file containing MLET tags that define the MBeans to be added to the MBean server. The location of the text file is specified by a URL. The text file is read using the UTF-8 encoding. The MBeans specified in the MLET file will be instantiated and registered in the MBean server.
 public Set<Object> getMBeansFromURL(URL url) throws ServiceNotFoundException
    Loads a text file containing MLET tags that define the MBeans to be added to the MBean server. The location of the text file is specified by a URL. The text file is read using the UTF-8 encoding. The MBeans specified in the MLET file will be instantiated and registered in the MBean server.
 public URL getResource(String name)
    Finds the resource with the given name. A resource is some data (images, audio, text, etc) that can be accessed by class code in a way that is independent of the location of the code. The name of a resource is a "/"-separated path name that identifies the resource.
 public InputStream getResourceAsStream(String name)
    Returns an input stream for reading the specified resource. The search order is described in the documentation for getResource(String).
 public Enumeration<URL> getResources(String name) throws IOException
    Finds all the resources with the given name. A resource is some data (images, audio, text, etc) that can be accessed by class code in a way that is independent of the location of the code. The name of a resource is a "/"-separated path name that identifies the resource.
 public URL[] getURLs()
    Returns the search path of URLs for loading classes and resources. This includes the original list of URLs specified to the constructor, along with any URLs subsequently appended by the addURL() method.
 public  void setLibraryDirectory(String libdir)
    Sets the directory used by the library loader for storing native libraries before they are loaded into memory.