org.wso2.carbon.databridge.agent
Class DataEndpointAgent

java.lang.Object
  extended by org.wso2.carbon.databridge.agent.DataEndpointAgent

public class DataEndpointAgent
extends Object

One agent is created for a specific data endpoint type,and this has the resources such as transport pool, etc which are shared by all the data publishers created for the endpoint type.


Constructor Summary
DataEndpointAgent(AgentConfiguration agentConfiguration)
           
 
Method Summary
 void addDataPublisher(DataPublisher dataPublisher)
           
 AgentConfiguration getAgentConfiguration()
           
 DataEndpoint getNewDataEndpoint()
           
 org.apache.commons.pool.impl.GenericKeyedObjectPool getSecuredTransportPool()
           
 org.apache.commons.pool.impl.GenericKeyedObjectPool getTransportPool()
           
 void shutDown()
           
 void shutDown(DataPublisher dataPublisher)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataEndpointAgent

public DataEndpointAgent(AgentConfiguration agentConfiguration)
                  throws DataEndpointAgentConfigurationException
Throws:
DataEndpointAgentConfigurationException
Method Detail

addDataPublisher

public void addDataPublisher(DataPublisher dataPublisher)

getAgentConfiguration

public AgentConfiguration getAgentConfiguration()

getTransportPool

public org.apache.commons.pool.impl.GenericKeyedObjectPool getTransportPool()

getSecuredTransportPool

public org.apache.commons.pool.impl.GenericKeyedObjectPool getSecuredTransportPool()

shutDown

public void shutDown(DataPublisher dataPublisher)

getNewDataEndpoint

public DataEndpoint getNewDataEndpoint()
                                throws DataEndpointException
Throws:
DataEndpointException

shutDown

public void shutDown()
              throws DataEndpointException
Throws:
DataEndpointException


Copyright © 2015 WSO2. All rights reserved.