org.eclipse.cosmos.dc.sample.components.source
Class JMXMetricSource
java.lang.Object
org.eclipse.cosmos.dc.common.api.impl.AbstractSource
org.eclipse.cosmos.dc.sample.components.source.JMXMetricSource
- All Implemented Interfaces:
- IDataSourceService, IWireSource
public class JMXMetricSource
- extends AbstractSource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMXMetricSource
public JMXMetricSource(ContributionManager manager,
org.w3c.dom.Element binding)
acceptWireTarget
public boolean acceptWireTarget(IWireTarget target)
throws java.lang.Exception
- Specified by:
acceptWireTarget in class AbstractSource
- Throws:
java.lang.Exception
cancel
public boolean cancel()
throws java.lang.Exception
- Specified by:
cancel in interface IDataSourceService- Specified by:
cancel in class AbstractSource
- Throws:
java.lang.Exception
connect
public boolean connect()
throws java.lang.Exception
- Specified by:
connect in interface IDataSourceService- Specified by:
connect in class AbstractSource
- Throws:
java.lang.Exception
disconnect
public boolean disconnect()
throws java.lang.Exception
- Specified by:
disconnect in interface IDataSourceService- Specified by:
disconnect in class AbstractSource
- Throws:
java.lang.Exception
pause
public boolean pause()
throws java.lang.Exception
- Specified by:
pause in interface IDataSourceService- Specified by:
pause in class AbstractSource
- Throws:
java.lang.Exception
resume
public boolean resume()
throws java.lang.Exception
- Specified by:
resume in interface IDataSourceService- Specified by:
resume in class AbstractSource
- Throws:
java.lang.Exception
run
public boolean run()
throws java.lang.Exception
- Specified by:
run in interface IDataSourceService- Specified by:
run in class AbstractSource
- Throws:
java.lang.Exception
getOutputTypes
public java.lang.Class[] getOutputTypes()
getDataSource
public DataSource getDataSource()