test_class.declarator: executor
test_class.original_string: TestExecutor executor;
test_class.type: TestExecutor
test_class.var_name: executor
test_class.file: agent/core/src/test/java/org/jolokia/backend/executor/AbstractMBeanServerExecutorTest.java
test_class.identifier: AbstractMBeanServerExecutorTest
test_case.body: @Test
      public void destroyWithoutPriorRegistration() throws NoSuchFieldException, IllegalAccessException {
          // Should always work, even when no registration has happened. Non exisiting listeners will be simplu ignored, since we didnt do any registration before
          executor.unregisterFromMBeanNotifications();
      }
test_case.class_method_signature: AbstractMBeanServerExecutorTest.destroyWithoutPriorRegistration()
test_case.full_signature: @Test public void destroyWithoutPriorRegistration()
test_case.identifier: destroyWithoutPriorRegistration
test_case.invocations: unregisterFromMBeanNotifications
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void destroyWithoutPriorRegistration()
focal_class.declarator: lastMBeanRegistrationChange
focal_class.modifier: private
focal_class.original_string: private long lastMBeanRegistrationChange;
focal_class.type: long
focal_class.var_name: lastMBeanRegistrationChange
focal_class.file: agent/core/src/main/java/org/jolokia/backend/executor/AbstractMBeanServerExecutor.java
focal_class.identifier: AbstractMBeanServerExecutor
focal_class.interfaces: implements MBeanServerExecutor, NotificationListener
focal_class.class_method_signature: AbstractMBeanServerExecutor.getMBeanServers()
focal_class.full_signature: protected abstract Set<MBeanServerConnection> getMBeanServers()
focal_class.identifier: getMBeanServers
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: Set<MBeanServerConnection>
focal_class.signature: Set<MBeanServerConnection> getMBeanServers()
focal_class.class_method_signature: AbstractMBeanServerExecutor.getJolokiaMBeanServer()
focal_class.full_signature: protected MBeanServerConnection getJolokiaMBeanServer()
focal_class.identifier: getJolokiaMBeanServer
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: MBeanServerConnection
focal_class.signature: MBeanServerConnection getJolokiaMBeanServer()
focal_class.class_method_signature: AbstractMBeanServerExecutor.each(ObjectName pObjectName, MBeanEachCallback pCallback)
focal_class.full_signature: public void each(ObjectName pObjectName, MBeanEachCallback pCallback)
focal_class.identifier: each
focal_class.modifiers: public
focal_class.parameters: (ObjectName pObjectName, MBeanEachCallback pCallback)
focal_class.return: void
focal_class.signature: void each(ObjectName pObjectName, MBeanEachCallback pCallback)
focal_class.class_method_signature: AbstractMBeanServerExecutor.call(ObjectName pObjectName, MBeanAction<T> pMBeanAction, Object ... pExtraArgs)
focal_class.full_signature: public T call(ObjectName pObjectName, MBeanAction<T> pMBeanAction, Object ... pExtraArgs)
focal_class.identifier: call
focal_class.modifiers: public
focal_class.parameters: (ObjectName pObjectName, MBeanAction<T> pMBeanAction, Object ... pExtraArgs)
focal_class.return: T
focal_class.signature: T call(ObjectName pObjectName, MBeanAction<T> pMBeanAction, Object ... pExtraArgs)
focal_class.class_method_signature: AbstractMBeanServerExecutor.queryNames(ObjectName pObjectName)
focal_class.full_signature: public Set<ObjectName> queryNames(ObjectName pObjectName)
focal_class.identifier: queryNames
focal_class.modifiers: public
focal_class.parameters: (ObjectName pObjectName)
focal_class.return: Set<ObjectName>
focal_class.signature: Set<ObjectName> queryNames(ObjectName pObjectName)
focal_class.class_method_signature: AbstractMBeanServerExecutor.registerForMBeanNotifications()
focal_class.full_signature: protected void registerForMBeanNotifications()
focal_class.identifier: registerForMBeanNotifications
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void registerForMBeanNotifications()
focal_class.class_method_signature: AbstractMBeanServerExecutor.unregisterFromMBeanNotifications()
focal_class.full_signature: public void unregisterFromMBeanNotifications()
focal_class.identifier: unregisterFromMBeanNotifications
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void unregisterFromMBeanNotifications()
focal_class.class_method_signature: AbstractMBeanServerExecutor.handleNotification(Notification pNotification, Object pHandback)
focal_class.full_signature: public void handleNotification(Notification pNotification, Object pHandback)
focal_class.identifier: handleNotification
focal_class.modifiers: public
focal_class.parameters: (Notification pNotification, Object pHandback)
focal_class.return: void
focal_class.signature: void handleNotification(Notification pNotification, Object pHandback)
focal_class.class_method_signature: AbstractMBeanServerExecutor.hasMBeansListChangedSince(long pTimestamp)
focal_class.full_signature: public boolean hasMBeansListChangedSince(long pTimestamp)
focal_class.identifier: hasMBeansListChangedSince
focal_class.modifiers: public
focal_class.parameters: (long pTimestamp)
focal_class.return: boolean
focal_class.signature: boolean hasMBeansListChangedSince(long pTimestamp)
focal_class.class_method_signature: AbstractMBeanServerExecutor.updateErrorMsg(StringBuilder pErrors, Exception exp)
focal_class.full_signature: private Exception updateErrorMsg(StringBuilder pErrors, Exception exp)
focal_class.identifier: updateErrorMsg
focal_class.modifiers: private
focal_class.parameters: (StringBuilder pErrors, Exception exp)
focal_class.return: Exception
focal_class.signature: Exception updateErrorMsg(StringBuilder pErrors, Exception exp)
focal_method.body: public void unregisterFromMBeanNotifications() {
          Set<MBeanServerConnection> servers = getMBeanServers();
          Exception lastExp = null;
          StringBuilder errors = new StringBuilder();
          for (MBeanServerConnection server : servers) {
              try {
                  JmxUtil.removeMBeanRegistrationListener(server,this);
              } catch (IllegalStateException e) {
                  lastExp = updateErrorMsg(errors, e);
              }
          }
          if (lastExp != null) {
              throw new IllegalStateException(errors.substring(0,errors.length()-1),lastExp);
          }
      }
focal_method.class_method_signature: AbstractMBeanServerExecutor.unregisterFromMBeanNotifications()
focal_method.full_signature: public void unregisterFromMBeanNotifications()
focal_method.identifier: unregisterFromMBeanNotifications
focal_method.invocations: getMBeanServers removeMBeanRegistrationListener updateErrorMsg substring length
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void unregisterFromMBeanNotifications()