SMILA (incubation) API documentation

org.eclipse.smila.connectivity.queue.worker.internal
Class AbstractQueueService<ConfigType>

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<ConfigType>
Type Parameters:
ConfigType - configuration type
All Implemented Interfaces:
ServicesAccessPoint
Direct Known Subclasses:
BrokerConnectionServiceImpl, ListenerImpl, RecyclerImpl, RouterImpl

public abstract class AbstractQueueService<ConfigType>
extends AbstractQueueServicesAccessPoint

The Class AbstractQueueService.


Field Summary
protected  ConfigType _config
          The _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
AbstractQueueService(java.lang.String id)
          Instantiates a new abstract queue service.
 
Method Summary
protected  void activate(ComponentContext context)
          Activate.
protected  void deactivate(ComponentContext context)
          OSGi Declarative Services service deactivation method.
abstract  java.lang.String getConfigName()
          Gets the config name.
 void start()
          Start.
 void stop()
          Stop.
 
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
 

Field Detail

_config

protected ConfigType _config
The _config.

Constructor Detail

AbstractQueueService

public AbstractQueueService(java.lang.String id)
Instantiates a new abstract queue service.

Parameters:
id - the id
Method Detail

getConfigName

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

Returns:
the config name

start

public void start()
Start.


stop

public void stop()
Stop.


activate

protected void activate(ComponentContext context)
Activate.

Parameters:
context - the context

deactivate

protected void deactivate(ComponentContext context)
OSGi Declarative Services service deactivation method. Shuts down BPEL engine.

Parameters:
context - OSGi service component context.

SMILA (incubation) API documentation