}
public void setAttribute(ObjectName name, Attribute attribute)
throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
{
MBeanEntry entry = registry.get(name);
ClassLoader newTCL = entry.getClassLoader();
MBeanInvoker mbean = entry.getInvoker();
Thread thread = Thread.currentThread();
ClassLoader oldTCL = thread.getContextClassLoader();
try
{