4 Replies Latest reply on Dec 16, 2013 1:17 PM by Amy Wu

    How does an agent plugin know when a connection setting has changed?

    Amy Wu Newbie

      I am working on an agent plugin where users are able to connect to a JMX MBean server either remotely or via local attach.  Is there some sort of ConnectionSettingsListener that allows me to be notified if the user makes a change in the connection settings page?  I want to ensure that if the user decides to switch from local to remote, the agent plugin will switch how it is connecting to the MBean server.

       

      Also, is there a way to update my resource's version number after it has been discovered?  I have timing issue where sometimes my agent is unable to determine version number during discovery but it is able to determine some time after the Component has been created.  Is there a way for the agent to update the version number later?

       

      Thanks