SMILA (incubation) API documentation

org.eclipse.smila.connectivity.queue.worker.internal
Class AbstractQueueServicesAccessPoint

java.lang.Object
  extended by org.eclipse.smila.connectivity.queue.worker.internal.AbstractLoggedComponent
      extended by org.eclipse.smila.connectivity.queue.worker.internal.AbstractQueueServicesAccessPoint
All Implemented Interfaces:
ServicesAccessPoint
Direct Known Subclasses:
AbstractQueueService, RecordRecyclerImpl

public abstract class AbstractQueueServicesAccessPoint
extends AbstractLoggedComponent
implements ServicesAccessPoint

The Class AbstractQueueServicesAccessPoint.


Field Summary
protected  BrokerConnectionService _brokerConnections
          The broker connections.
 
Fields inherited from class org.eclipse.smila.connectivity.queue.worker.internal.AbstractLoggedComponent
_id, _log
 
Constructor Summary
AbstractQueueServicesAccessPoint(java.lang.String id)
          Instantiates a new abstract queue worker service.
 
Method Summary
 Blackboard getBlackboardService(boolean persisting)
          Create a new blackboard instance.
 BrokerConnectionService getBrokerConnections()
          Gets the broker connections.
 RecordStorage getRecordStorage()
          Gets the record storage.
 TaskListExecutionService getTaskListExecutionService()
          Gets the task list execution service.
 WorkflowProcessor getWorkflowProcessor()
          Gets the workflow processor.
 void setBlackboardFactory(BlackboardFactory blackboardFactory)
          
 void setBrokerConnections(BrokerConnectionService brokerConnections)
          Sets the broker connections.
 void setRecordStorage(RecordStorage recordStorage)
          Sets the record storage.
 void setWorkflowProcessor(WorkflowProcessor workflowProcessor)
          
 void unsetBlackboardFactory(BlackboardFactory blackboardFactory)
          
 void unsetBrokerConnections(BrokerConnectionService brokerConnections)
          Unset broker connections.
 void unsetRecordStorage(RecordStorage recordStorage)
          Unset record storage.
 void unsetWorkflowProcessor(WorkflowProcessor workflowProcessor)
          
 
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

_brokerConnections

protected BrokerConnectionService _brokerConnections
The broker connections.

Constructor Detail

AbstractQueueServicesAccessPoint

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

Parameters:
id - the id
Method Detail

setBrokerConnections

public void setBrokerConnections(BrokerConnectionService brokerConnections)
Sets the broker connections.

Parameters:
brokerConnections - the new broker connections

unsetBrokerConnections

public void unsetBrokerConnections(BrokerConnectionService brokerConnections)
Unset broker connections.

Parameters:
brokerConnections - the broker connections

setBlackboardFactory

public void setBlackboardFactory(BlackboardFactory blackboardFactory)

See Also:
#setBlackboardService(org.eclipse.smila.blackboard.Blackboard)

unsetBlackboardFactory

public void unsetBlackboardFactory(BlackboardFactory blackboardFactory)

See Also:
#unsetBlackboardService(org.eclipse.smila.blackboard.Blackboard)

setRecordStorage

public void setRecordStorage(RecordStorage recordStorage)
Sets the record storage.

Parameters:
recordStorage - the new record storage

unsetRecordStorage

public void unsetRecordStorage(RecordStorage recordStorage)
Unset record storage.

Parameters:
recordStorage - the record storage

setWorkflowProcessor

public void setWorkflowProcessor(WorkflowProcessor workflowProcessor)

See Also:
#setWorkflowProcessor(org.eclipse.smila.processing.WorkflowProcessor)

unsetWorkflowProcessor

public void unsetWorkflowProcessor(WorkflowProcessor workflowProcessor)

See Also:
#unsetWorkflowProcessor(org.eclipse.smila.processing.WorkflowProcessor)

getBrokerConnections

public BrokerConnectionService getBrokerConnections()
Gets the broker connections.

Specified by:
getBrokerConnections in interface ServicesAccessPoint
Returns:
the broker connections
See Also:
ServicesAccessPoint.getBrokerConnections()

getBlackboardService

public Blackboard getBlackboardService(boolean persisting)
                                throws BlackboardAccessException
Create a new blackboard instance.

Specified by:
getBlackboardService in interface ServicesAccessPoint
Parameters:
persisting - true to get a blackboard that writes to configured storages (at least binary, optionally record storage). false to get a transient blackboard only.
Returns:
the blackboard instance
Throws:
BlackboardAccessException - persisting blackboard could not be created (usually because binary storage is not active).
See Also:
org.eclipse.smila.connectivity.queue.QueueWorker#getBlackboardService()

getRecordStorage

public RecordStorage getRecordStorage()
Gets the record storage.

Specified by:
getRecordStorage in interface ServicesAccessPoint
Returns:
the record storage
See Also:
ServicesAccessPoint.getRecordStorage()

getWorkflowProcessor

public WorkflowProcessor getWorkflowProcessor()
Gets the workflow processor.

Specified by:
getWorkflowProcessor in interface ServicesAccessPoint
Returns:
the workflow processor
See Also:
org.eclipse.smila.connectivity.queue.QueueWorker#getWorkflowProcessor()

getTaskListExecutionService

public TaskListExecutionService getTaskListExecutionService()
Gets the task list execution service.

Specified by:
getTaskListExecutionService in interface ServicesAccessPoint
Returns:
the task list execution service

SMILA (incubation) API documentation