org.jbosson.plugins.fuse
Class FabricProfileGroupManager

java.lang.Object
  extended by org.jbosson.plugins.fuse.FabricProfileGroupManager
All Implemented Interfaces:
org.apache.zookeeper.Watcher, org.rhq.core.pluginapi.measurement.MeasurementFacet

public class FabricProfileGroupManager
extends Object
implements org.rhq.core.pluginapi.measurement.MeasurementFacet, org.apache.zookeeper.Watcher

Manages Profiles as Resource Groups in RHQ

Author:
dbokde

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.zookeeper.Watcher
org.apache.zookeeper.Watcher.Event
 
Constructor Summary
FabricProfileGroupManager(org.rhq.core.pluginapi.inventory.ResourceContext context)
           
 
Method Summary
protected  void getFabricMetadata(String profileName, String containerVersion, org.linkedin.zookeeper.client.ZKClient client, org.jbosson.plugins.fuse.FabricContainerTraits traits)
           
 void getValues(org.rhq.core.domain.measurement.MeasurementReport measurementReport, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> measurementScheduleRequests)
           
 void process(org.apache.zookeeper.WatchedEvent watchedEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FabricProfileGroupManager

public FabricProfileGroupManager(org.rhq.core.pluginapi.inventory.ResourceContext context)
Method Detail

getValues

public void getValues(org.rhq.core.domain.measurement.MeasurementReport measurementReport,
                      Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> measurementScheduleRequests)
               throws Exception
Specified by:
getValues in interface org.rhq.core.pluginapi.measurement.MeasurementFacet
Throws:
Exception

getFabricMetadata

protected void getFabricMetadata(String profileName,
                                 String containerVersion,
                                 org.linkedin.zookeeper.client.ZKClient client,
                                 org.jbosson.plugins.fuse.FabricContainerTraits traits)
                          throws org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException
Throws:
org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException

process

public void process(org.apache.zookeeper.WatchedEvent watchedEvent)
Specified by:
process in interface org.apache.zookeeper.Watcher


Copyright © 2012. All Rights Reserved.