MLetMBean (Java SE 15 & JDK 15) (original) (raw)

All Known Implementing Classes:

[MLet](MLet.html "class in javax.management.loading"), [PrivateMLet](PrivateMLet.html "class in javax.management.loading")


public interface MLetMBean

Exposes the remote management interface of the MLet MBean.

Since:

1.5

Modifier and Type Method Description
void addURL​(String url) Appends the specified URL to the list of URLs to search for classes and resources.
void addURL​(URL url) Appends the specified URL to the list of URLs to search for classes and resources.
String getLibraryDirectory() Gets the current directory used by the library loader for storing native libraries before they are loaded into memory.
Set<Object> getMBeansFromURL​(String url) Loads a text file containing MLET tags that define the MBeans to be added to the MBean server.
Set<Object> getMBeansFromURL​(URL url) Loads a text file containing MLET tags that define the MBeans to be added to the MBean server.
URL getResource​(String name) Finds the resource with the given name.
InputStream getResourceAsStream​(String name) Returns an input stream for reading the specified resource.
Enumeration<URL> getResources​(String name) Finds all the resources with the given name.
URL[] getURLs() Returns the search path of URLs for loading classes and resources.
void setLibraryDirectory​(String libdir) Sets the directory used by the library loader for storing native libraries before they are loaded into memory.