org.ow2.jasmine.probe.collectors.lewys.internal
Class LewysCollectorService

java.lang.Object
  extended by org.ow2.jasmine.probe.collectors.lewys.internal.LewysCollectorService
All Implemented Interfaces:
org.ow2.jasmine.probe.collector.JasmineCollectorService

public class LewysCollectorService
extends Object
implements org.ow2.jasmine.probe.collector.JasmineCollectorService

This CollectorService implements the "lewys" collector. This is just a wrapper on a LeWYS probe. It should be able to treat any lewys command, and any resource.

Author:
durieuxp

Field Summary
static int LINUX_2_4
           
static int LINUX_2_6
           
protected  org.ow2.util.log.Log logger
          Logger.
static int MAC_OS_X
           
protected  int osType
          Supported OS
static int WINDOWS
           
 
Constructor Summary
LewysCollectorService()
           
 
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.


osType

protected int osType
Supported OS


LINUX_2_4

public static final int LINUX_2_4
See Also:
Constant Field Values

LINUX_2_6

public static final int LINUX_2_6
See Also:
Constant Field Values

WINDOWS

public static final int WINDOWS
See Also:
Constant Field Values

MAC_OS_X

public static final int MAC_OS_X
See Also:
Constant Field Values
Constructor Detail

LewysCollectorService

public LewysCollectorService()
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.