Interface ClassLoading
- All Known Subinterfaces:
ClasspathAgentMBean
- All Known Implementing Classes:
ClassDiagnostic,ClasspathAgent
public interface ClassLoading
This interface identifies the methods which are necessary to get the
loaded classes.
- Since:
- 3.0 (27-Oct-2025)
- Author:
- Oli B.
-
Method Details
-
getClasspath
-
getLoadedClasses
Class<?>[] getLoadedClasses()Returns the classes which were loaded by the classloader.NOTE: Although the 'jconsole' displays the classes as 'unavailable' do not remove it. It is used by the ClasspathAgent class to provide the loaded classes.
- Returns:
- the classes as string array
-
getLoadedClassnames
Returns the classes which were loaded by the classloader. The loaded packages are returned as string array so that it can be displayed by the 'jconsole'.- Returns:
- the classnames as string array
-