com.adventnet.services.discovery
Class DiscoveryEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.adventnet.services.discovery.DiscoveryEvent
All Implemented Interfaces:
java.io.Serializable

public class DiscoveryEvent
extends java.util.EventObject

Contains the information of a discovery response

See Also:
Serialized Form

Field Summary
(package private)  java.util.Vector discoveryObjectsVector
           
(package private)  boolean startUpDiscovery
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DiscoveryEvent(java.lang.Object source, java.util.Vector discoveryObjectsVector)
          The two arg constructor creates a Discovery Event object.
 
Method Summary
 java.util.Vector getDiscoveredObjects()
          The vector which contains the discovered objects(vector of DiscoveryObject).
 boolean isStartUpDiscovery()
          Specifies whether the JMX agents information in the discoveryObjects is gathered during the startup of the DiscoveryClient.
 void setStartUpDiscovery(boolean startUpDiscovery)
          Sets whether the JMX agents information in the discoveryObjects should be gathered or not during the startup of the DiscoveryClient.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

discoveryObjectsVector

java.util.Vector discoveryObjectsVector

startUpDiscovery

boolean startUpDiscovery
Constructor Detail

DiscoveryEvent

public DiscoveryEvent(java.lang.Object source,
                      java.util.Vector discoveryObjectsVector)
The two arg constructor creates a Discovery Event object.

Parameters:
source -
discoveryObjectsVector - Vector of Discovery objects
Method Detail

setStartUpDiscovery

public void setStartUpDiscovery(boolean startUpDiscovery)
Sets whether the JMX agents information in the discoveryObjects should be gathered or not during the startup of the DiscoveryClient. The DiscoveryEvent will be fired when any JMX agent comes up while the DiscoveryClient is running.


isStartUpDiscovery

public boolean isStartUpDiscovery()
Specifies whether the JMX agents information in the discoveryObjects is gathered during the startup of the DiscoveryClient. The DiscoveryEvent will be fired when any JMX agent comes up while the DiscoveryClient is running.


getDiscoveredObjects

public java.util.Vector getDiscoveredObjects()
The vector which contains the discovered objects(vector of DiscoveryObject). Each vector element, DiscoveryObject, constitutes a JMX agent.