|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MLetMBean
Management interface of an MLet.
MLet
Method Summary | |
---|---|
void |
addURL(String url)
Adds the given URL to the MLet's classpath. |
void |
addURL(URL url)
Adds the given URL to the MLet's classpath. |
String |
getLibraryDirectory()
|
Set |
getMBeansFromURL(String url)
Loads an MLET text file from a given url. |
Set |
getMBeansFromURL(URL url)
Loads an MLET text file from a given url. |
URL |
getResource(String name)
Returns a resource with a given name from this MLet's classpath. |
InputStream |
getResourceAsStream(String name)
Returns a resource with a given name from this MLet's classpath. |
Enumeration |
getResources(String name)
Returns all resources with a given name. |
URL[] |
getURLs()
Returns the list of URLs associated with this MLet. |
void |
setLibraryDirectory(String libdir)
|
Method Detail |
---|
Set getMBeansFromURL(String url) throws ServiceNotFoundException
url
- url to load the MLET text file from
ServiceNotFoundException
- if the given URL is malformed, or the
given MLET text file cannot be found, or the given text file
does not contain an <MLET> tag or one of the specified
mandatory attributes (see the JMX specification for a list of
mandatory attributes in an MLET text file).Set getMBeansFromURL(URL url) throws ServiceNotFoundException
url
- url to load the MLET text file from
ServiceNotFoundException
- if the
given MLET text file cannot be found, or the given text file
does not contain an <MLET> tag or one of the specified
mandatory attributes (see the JMX specification for a list of
mandatory attributes in an MLET text file).void addURL(URL url)
url
- urlvoid addURL(String url) throws ServiceNotFoundException
url
- url
ServiceNotFoundException
- if the given URL is malformedURL[] getURLs()
URL getResource(String name)
name
- the resource name with a '/' separated path
InputStream getResourceAsStream(String name)
name
- the resource name with a '/' separated path
Enumeration getResources(String name) throws IOException
name
- the resource name with a '/' separated path
IOException
String getLibraryDirectory()
void setLibraryDirectory(String libdir)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |