org.wso2.carbon.databridge.agent
Class DataEndpointAgent
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataEndpointAgent
public DataEndpointAgent(AgentConfiguration agentConfiguration)
throws DataEndpointAgentConfigurationException
- Throws:
DataEndpointAgentConfigurationException
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.