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

java.lang.Object
  extended by org.ow2.jasmine.probe.collectors.JCollectorService
      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 org.ow2.jasmine.probe.collectors.JCollectorService
implements org.ow2.jasmine.probe.jmx.JmxBrowserService

This Collector Service creates Jmx Collectors.

Author:
durieuxp

Field Summary
static java.lang.String DEFAULT_DOMAIN
           
static java.lang.String DEFAULT_SERVER
           
static java.lang.String META_DOMAIN
           
static java.lang.String META_MBEAN
           
static java.lang.String META_SERVER
          Metadata keys put in values collected
static java.lang.String META_URL
           
static java.lang.String PROP_ATTR
           
static java.lang.String PROP_MBEAN
           
static java.lang.String PROP_TARGET
          Property names
static java.lang.String VALUE_ALL
          The value of the PROP_ATTR property meaning that all the attributes are to be fetched.
 
Fields inherited from class org.ow2.jasmine.probe.collectors.JCollectorService
collectorList, logger, properties
 
Constructor Summary
JmxCollectorService()
           
 
Method Summary
 org.ow2.jasmine.probe.collector.JasmineCollector getCollector(org.ow2.jasmine.probe.JasmineIndicator indicator, int period, java.lang.String probeid)
          Create a Collector for this JasmineIndicator
 void start()
           
 void stop()
           
 
Methods inherited from class org.ow2.jasmine.probe.collectors.JCollectorService
getDependantIndicators, getPropertiesInfo, removeCollectors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_TARGET

public static final java.lang.String PROP_TARGET
Property names

See Also:
Constant Field Values

PROP_MBEAN

public static final java.lang.String PROP_MBEAN
See Also:
Constant Field Values

PROP_ATTR

public static final java.lang.String PROP_ATTR
See Also:
Constant Field Values

META_SERVER

public static final java.lang.String META_SERVER
Metadata keys put in values collected

See Also:
Constant Field Values

META_DOMAIN

public static final java.lang.String META_DOMAIN
See Also:
Constant Field Values

META_URL

public static final java.lang.String META_URL
See Also:
Constant Field Values

META_MBEAN

public static final java.lang.String META_MBEAN
See Also:
Constant Field Values

DEFAULT_SERVER

public static final java.lang.String DEFAULT_SERVER
See Also:
Constant Field Values

DEFAULT_DOMAIN

public static final java.lang.String DEFAULT_DOMAIN
See Also:
Constant Field Values

VALUE_ALL

public static final java.lang.String VALUE_ALL
The value of the PROP_ATTR property meaning that all the attributes are to be fetched.

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,
                                                                     java.lang.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
Specified by:
getCollector in class org.ow2.jasmine.probe.collectors.JCollectorService
Parameters:
indicator -
period - in second
probeid -
Returns:
the Collector
Throws:
org.ow2.jasmine.probe.collector.JasmineCollectorException - operation failed


Copyright © 2011 OW2 Consortium. All Rights Reserved.