SMILA (incubation) API documentation

org.eclipse.smila.connectivity.queue.worker.internal.connection
Class BrokerConnectionServiceImpl

java.lang.Object
  extended by org.eclipse.smila.connectivity.queue.worker.internal.AbstractLoggedComponent
      extended by org.eclipse.smila.connectivity.queue.worker.internal.AbstractQueueServicesAccessPoint
          extended by org.eclipse.smila.connectivity.queue.worker.internal.AbstractQueueService<ConnectionsConfigType>
              extended by org.eclipse.smila.connectivity.queue.worker.internal.connection.BrokerConnectionServiceImpl
All Implemented Interfaces:
BrokerConnectionService, ServicesAccessPoint

public class BrokerConnectionServiceImpl
extends AbstractQueueService<ConnectionsConfigType>
implements BrokerConnectionService

The Class BrokerConnectionServiceImpl.


Field Summary
 
Fields inherited from class org.eclipse.smila.connectivity.queue.worker.internal.AbstractQueueService
_config
 
Fields inherited from class org.eclipse.smila.connectivity.queue.worker.internal.AbstractQueueServicesAccessPoint
_brokerConnections
 
Fields inherited from class org.eclipse.smila.connectivity.queue.worker.internal.AbstractLoggedComponent
_id, _log
 
Constructor Summary
BrokerConnectionServiceImpl()
          Instantiates a new broker connection service impl.
 
Method Summary
 java.lang.String getConfigName()
          Gets the config name.
 Connection getConnection(QueueConnectionType connectionType, boolean cached)
          Gets the connection.
 void start()
          Start.
 void stop()
          Stop.
 
Methods inherited from class org.eclipse.smila.connectivity.queue.worker.internal.AbstractQueueService
activate, deactivate
 
Methods inherited from class org.eclipse.smila.connectivity.queue.worker.internal.AbstractQueueServicesAccessPoint
getBlackboardService, getBrokerConnections, getRecordStorage, getTaskListExecutionService, getWorkflowProcessor, setBlackboardFactory, setBrokerConnections, setRecordStorage, setWorkflowProcessor, unsetBlackboardFactory, unsetBrokerConnections, unsetRecordStorage, unsetWorkflowProcessor
 
Methods inherited from class org.eclipse.smila.connectivity.queue.worker.internal.AbstractLoggedComponent
msg
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerConnectionServiceImpl

public BrokerConnectionServiceImpl()
Instantiates a new broker connection service impl.

Method Detail

getConfigName

public java.lang.String getConfigName()
Gets the config name.

Specified by:
getConfigName in class AbstractQueueService<ConnectionsConfigType>
Returns:
the config name
See Also:
#getConfigName()

start

public void start()
Start.

Overrides:
start in class AbstractQueueService<ConnectionsConfigType>
See Also:
AbstractQueueService.start()

stop

public void stop()
Stop.

Overrides:
stop in class AbstractQueueService<ConnectionsConfigType>
See Also:
AbstractQueueService.stop()

getConnection

public Connection getConnection(QueueConnectionType connectionType,
                                boolean cached)
                         throws BrokerConnectionException
Gets the connection.

Specified by:
getConnection in interface BrokerConnectionService
Parameters:
connectionType - the connection type
cached - the cached
Returns:
the connection
Throws:
BrokerConnectionException - the broker connection exception
See Also:
#getConnection(org.eclipse.smila.connectivity.queue.worker.config.QueueConnectionType)

SMILA (incubation) API documentation