APIdia Launch Partner
Top Description Interfaces Classes
module java.management

Package javax.management.loading


Provides the classes which implement advanced dynamic loading. See the chapter Advanced Dynamic Loading in the JMX Specification.

An MBean that is of a subclass of java.lang.ClassLoader can be used as a class loader to create other MBeans via the method javax.management.MBeanServer#createMBean(String, ObjectName, ObjectName, Object[], String[]), and to instantiate arbitrary objects via the method javax.management.MBeanServer#instantiate(String, ObjectName, Object[], String[]).

Every MBean Server has a class loader repository containing all MBeans registered in that MBean Server that are of a subclass of java.lang.ClassLoader. The class loader repository is used by the forms of the createMBean and instantiate methods in the MBeanServer interface that do not have an explicit loader parameter.

If an MBean implements the interface PrivateClassLoader, then it is not added to the class loader repository.

Since
1.5
See Also
JMX Specification, version 1.4

Interface Summary

Modifier and TypeInterface and Description
public interface
ClassLoaderRepository

Instances of this interface are used to keep the list of ClassLoaders registered in an MBean Server.

public interface
PrivateClassLoader

Marker interface indicating that a ClassLoader should not be added to the ClassLoaderRepository.

Class Summary

Modifier and TypeClass and Description
public class
DefaultLoaderRepository

Keeps the list of Class Loaders registered in the MBean Server.