COSMOS ${releaseVersion} data-collection Project
Public API Specification

org.eclipse.cosmos.dc.common.api
Interface IDataSourceService

All Superinterfaces:
IWireSource
All Known Implementing Classes:
AbstractSource, CBESource, JMXMetricSource, JMXPollingSource, WefSource

public interface IDataSourceService
extends IWireSource


Field Summary
static javax.xml.namespace.QName DATA_SOURCE_QNAME
           
static javax.xml.namespace.QName FACTORY_QNAME
           
static javax.xml.namespace.QName SOURCE_QNAME
           
 
Method Summary
 boolean cancel()
           
 boolean connect()
           
 boolean disconnect()
           
 DataSource getDataSource()
           
 java.lang.Class[] getOutputTypes()
           
 boolean pause()
           
 boolean resume()
           
 boolean run()
           
 
Methods inherited from interface org.eclipse.cosmos.dc.common.spi.IWireSource
addWireTarget, getWireTargets
 

Field Detail

SOURCE_QNAME

static final javax.xml.namespace.QName SOURCE_QNAME

FACTORY_QNAME

static final javax.xml.namespace.QName FACTORY_QNAME

DATA_SOURCE_QNAME

static final javax.xml.namespace.QName DATA_SOURCE_QNAME
Method Detail

connect

boolean connect()
                throws java.lang.Exception
Throws:
java.lang.Exception

run

boolean run()
            throws java.lang.Exception
Throws:
java.lang.Exception

disconnect

boolean disconnect()
                   throws java.lang.Exception
Throws:
java.lang.Exception

cancel

boolean cancel()
               throws java.lang.Exception
Throws:
java.lang.Exception

pause

boolean pause()
              throws java.lang.Exception
Throws:
java.lang.Exception

resume

boolean resume()
               throws java.lang.Exception
Throws:
java.lang.Exception

getDataSource

DataSource getDataSource()

getOutputTypes

java.lang.Class[] getOutputTypes()
Specified by:
getOutputTypes in interface IWireSource

COSMOS ${releaseVersion} data-collection Project
Public API Specification