public Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException { ClassLoader old = pushClassLoader(name); try { return delegate.invoke(name, operationName, params, signature); } finally { resetClassLoader(old); } }
PluggableMBeanServerImpl(MBeanServer rootMBeanServer) { this.rootMBeanServer = new TcclMBeanServer(rootMBeanServer); }
/** * If no suitable delegate is found in the set of delegates, the rootMBeanServer will handle the JMX operations. * @param rootMBeanServer JMX root MBeanServer (can not be {@code null}) * @param rootMBeanServerDelegate can be {@code null} if the {@link PluggableMBeanServerBuilder} is not used */ PluggableMBeanServerImpl(MBeanServer rootMBeanServer, MBeanServerDelegate rootMBeanServerDelegate) { this.rootMBeanServer = new TcclMBeanServer(rootMBeanServer); this.rootMBeanServerDelegate = rootMBeanServerDelegate; }
public void removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException { ClassLoader old = pushClassLoader(name); try { delegate.removeNotificationListener(name, listener, filter, handback); } finally { resetClassLoader(old); } }
public void removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException { ClassLoader old = pushClassLoader(name); try { delegate.removeNotificationListener(name, listener, filter, handback); } finally { resetClassLoader(old); } }
public AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException { ClassLoader old = pushClassLoader(name); try { return delegate.getAttributes(name, attributes); } finally { resetClassLoader(old); } }
public void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException { ClassLoader old = pushClassLoader(name); try { delegate.addNotificationListener(name, listener, filter, handback); } finally { resetClassLoader(old); } }
public ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException { ClassLoader old = pushClassLoaderByName(loaderName); try { return delegate.createMBean(className, name, loaderName, params, signature); } finally { resetClassLoader(old); } }
/** * If no suitable delegate is found in the set of delegates, the rootMBeanServer will handle the JMX operations. * @param rootMBeanServer JMX root MBeanServer (can not be {@code null}) * @param rootMBeanServerDelegate can be {@code null} if the {@link PluggableMBeanServerBuilder} is not used */ PluggableMBeanServerImpl(MBeanServer rootMBeanServer, MBeanServerDelegate rootMBeanServerDelegate) { this.rootMBeanServer = new TcclMBeanServer(rootMBeanServer); this.rootMBeanServerDelegate = rootMBeanServerDelegate; }
public AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException { ClassLoader old = pushClassLoader(name); try { return delegate.setAttributes(name, attributes); } finally { resetClassLoader(old); } }
public void removeNotificationListener(ObjectName name, ObjectName listener) throws InstanceNotFoundException, ListenerNotFoundException { ClassLoader old = pushClassLoader(name); try { delegate.removeNotificationListener(name, listener); } finally { resetClassLoader(old); } }
public Object instantiate(String className, ObjectName loaderName) throws ReflectionException, MBeanException, InstanceNotFoundException { ClassLoader old = pushClassLoaderByName(loaderName); try { return delegate.instantiate(className, loaderName); } finally { resetClassLoader(old); } }
public ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException { ClassLoader old = pushClassLoaderByName(loaderName); try { return delegate.createMBean(className, name, loaderName); } finally { resetClassLoader(old); } }
public ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException { ClassLoader old = pushClassLoaderByName(loaderName); try { return delegate.createMBean(className, name, loaderName, params, signature); } finally { resetClassLoader(old); } }
public void removeNotificationListener(ObjectName name, ObjectName listener) throws InstanceNotFoundException, ListenerNotFoundException { ClassLoader old = pushClassLoader(name); try { delegate.removeNotificationListener(name, listener); } finally { resetClassLoader(old); } }
public AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException { ClassLoader old = pushClassLoader(name); try { return delegate.getAttributes(name, attributes); } finally { resetClassLoader(old); } }
public Object instantiate(String className, ObjectName loaderName) throws ReflectionException, MBeanException, InstanceNotFoundException { ClassLoader old = pushClassLoaderByName(loaderName); try { return delegate.instantiate(className, loaderName); } finally { resetClassLoader(old); } }
public AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException { ClassLoader old = pushClassLoader(name); try { return delegate.setAttributes(name, attributes); } finally { resetClassLoader(old); } }
public void removeNotificationListener(ObjectName name, ObjectName listener) throws InstanceNotFoundException, ListenerNotFoundException { ClassLoader old = pushClassLoader(name); try { delegate.removeNotificationListener(name, listener); } finally { resetClassLoader(old); } }
public AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException { ClassLoader old = pushClassLoader(name); try { return delegate.getAttributes(name, attributes); } finally { resetClassLoader(old); } }