org.ow2.jasmine.probe.collectors.jmx.internal
Class JmxCollectorService

java.lang.Object
  extended by org.ow2.jasmine.probe.collectors.jmx.internal.JmxCollectorService
All Implemented Interfaces:
org.ow2.jasmine.probe.collector.JasmineCollectorService, org.ow2.jasmine.probe.jmx.JmxBrowserService

public class JmxCollectorService
extends Object
implements org.ow2.jasmine.probe.collector.JasmineCollectorService, org.ow2.jasmine.probe.jmx.JmxBrowserService

This Collector Service creates Jmx Collectors.

Author:
durieuxp

Field Summary
protected  org.ow2.util.log.Log logger
          Logger.
static String PROP_ATTR
           
static String PROP_MBEAN
           
static String PROP_TARGET
          Property names
 
Constructor Summary
JmxCollectorService()
           
 
Method Summary
 org.ow2.jasmine.probe.collector.JasmineCollector getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator, int period, String probeid)
          Create a Collector for this JasmineIndicator
 Collection<org.ow2.jasmine.probe.JasminePropertyInfo> getPropertiesInfo()
          Retrieve the description of all specific properties hidden in JasmineCollector Return a Collection of all properties with their description
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.ow2.util.log.Log logger
Logger.


PROP_TARGET

public static final String PROP_TARGET
Property names

See Also:
Constant Field Values

PROP_MBEAN

public static final String PROP_MBEAN
See Also:
Constant Field Values

PROP_ATTR

public static final String PROP_ATTR
See Also:
Constant Field Values
Constructor Detail

JmxCollectorService

public JmxCollectorService()
Method Detail

start

public void start()

stop

public void stop()

getCollector

public org.ow2.jasmine.probe.collector.JasmineCollector getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator,
                                                                     int period,
                                                                     String probeid)
                                                              throws org.ow2.jasmine.probe.collector.JasmineCollectorException
Create a Collector for this JasmineIndicator

Specified by:
getCollector in interface org.ow2.jasmine.probe.collector.JasmineCollectorService
Parameters:
indicator -
period - in second
probeid -
Returns:
the Collector
Throws:
org.ow2.jasmine.probe.collector.JasmineCollectorException - operation failed

getPropertiesInfo

public Collection<org.ow2.jasmine.probe.JasminePropertyInfo> getPropertiesInfo()
Retrieve the description of all specific properties hidden in JasmineCollector Return a Collection of all properties with their description

Specified by:
getPropertiesInfo in interface org.ow2.jasmine.probe.collector.JasmineCollectorService
Returns:
a Collection of property descriptions


Copyright © 2011 OW2 Consortium. All Rights Reserved.