SMILA (incubation) API documentation

org.eclipse.smila.connectivity.queue.worker.internal
Interface ServicesAccessPoint

All Known Implementing Classes:
AbstractQueueService, AbstractQueueServicesAccessPoint, BrokerConnectionServiceImpl, ListenerImpl, RecordRecyclerImpl, RecyclerImpl, RouterImpl

public interface ServicesAccessPoint

The Interface ServicesAccessPoint.


Method Summary
 Blackboard getBlackboardService(boolean persisting)
          Create a new blackboard instance.
 BrokerConnectionService getBrokerConnections()
          Gets the broker connections.
 java.util.concurrent.locks.Lock getProcessingLock()
          Get the lock to notify that a client is still working and the the service should not yet been deactivated.
 RecordStorage getRecordStorage()
          Gets the record storage.
 TaskListExecutionService getTaskListExecutionService()
          Get task list execution service.
 WorkflowProcessor getWorkflowProcessor()
          Gets the workflow processor.
 

Method Detail

getBlackboardService

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

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).

getRecordStorage

RecordStorage getRecordStorage()
Gets the record storage.

Returns:
the record storage

getWorkflowProcessor

WorkflowProcessor getWorkflowProcessor()
Gets the workflow processor.

Returns:
the workflow processor

getBrokerConnections

BrokerConnectionService getBrokerConnections()
Gets the broker connections.

Returns:
the broker connections

getTaskListExecutionService

TaskListExecutionService getTaskListExecutionService()
Get task list execution service.

Returns:
the task list execution service

getProcessingLock

java.util.concurrent.locks.Lock getProcessingLock()
Get the lock to notify that a client is still working and the the service should not yet been deactivated.

Returns:
processing lock.

SMILA (incubation) API documentation