Package org.eclipse.scanning.api.event
Interface IEventConnectorService
- All Known Implementing Classes:
JmsConnectorService
public interface IEventConnectorService
Clients do not need to consume this service, it is provided by a bundle in the
workspace. Tests can hardcode an implementation of this service.
A service which provides the marshalling (the implementation uses Jackson) and
the JMS service provider (the implementation uses ActiveMQ)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the path of the directory to use for persistence.uk.ac.diamond.mq.ISessionServiceReturn a service responsible for managing Connections, SessionsMay be used to use the serializer to marshal any object using its serialization routine.<U> UMay be used to get the serializer to unmarshal any object using its serialization routine.
-
Method Details
-
marshal
May be used to use the serializer to marshal any object using its serialization routine. This can be used for objects other than T- Parameters:
event-- Returns:
- Throws:
Exception
-
unmarshal
May be used to get the serializer to unmarshal any object using its serialization routine. This can be used for objects other than T- Parameters:
event-- Returns:
- Throws:
Exception
-
getPersistenceDir
String getPersistenceDir()Returns the path of the directory to use for persistence.- Returns:
-
getSessionService
uk.ac.diamond.mq.ISessionService getSessionService()Return a service responsible for managing Connections, Sessions- Returns:
-