org.apache.stratos.cartridge.agent.data.publisher
Class DataPublisher

java.lang.Object
  extended by org.apache.stratos.cartridge.agent.data.publisher.DataPublisher
All Implemented Interfaces:
GenericDataPublisher
Direct Known Subclasses:
LogPublisher

public abstract class DataPublisher
extends Object
implements GenericDataPublisher


Constructor Summary
DataPublisher(DataPublisherConfiguration dataPublisherConfig, org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition)
           
 
Method Summary
 void initialize()
           
 boolean isDataPublisherInitialized()
           
 void publish(DataContext dataContext)
           
 void setDataPublisherInitialized(boolean dataPublisherInitialized)
           
 void terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataPublisher

public DataPublisher(DataPublisherConfiguration dataPublisherConfig,
                     org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition)
Method Detail

initialize

public void initialize()
Specified by:
initialize in interface GenericDataPublisher

publish

public void publish(DataContext dataContext)
Specified by:
publish in interface GenericDataPublisher

terminate

public void terminate()
Specified by:
terminate in interface GenericDataPublisher

isDataPublisherInitialized

public boolean isDataPublisherInitialized()

setDataPublisherInitialized

public void setDataPublisherInitialized(boolean dataPublisherInitialized)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.