Package csw.event.client
Class EventServiceFactory
- java.lang.Object
-
- csw.event.client.EventServiceFactory
-
public class EventServiceFactory extends java.lang.ObjectFactory to create EventService
-
-
Constructor Summary
Constructors Constructor Description EventServiceFactory()A java helper to construct EventServiceFactoryEventServiceFactory(EventStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IEventServicejMake(ILocationService locationService, akka.actor.typed.ActorSystem<?> actorSystem)Java API to createIEventServiceusingILocationServiceto resolve Event Server.IEventServicejMake(java.lang.String host, int port, akka.actor.typed.ActorSystem<?> system)Java API to createIEventServiceusing host and port of Event Server.csw.event.api.scaladsl.EventServicemake(csw.location.api.scaladsl.LocationService locationService, akka.actor.typed.ActorSystem<?> system)API to createEventServiceusingLocationServiceto resolve Event Server.csw.event.api.scaladsl.EventServicemake(java.lang.String host, int port, akka.actor.typed.ActorSystem<?> system)API to createEventServiceusing host and port of Event Server.
-
-
-
Constructor Detail
-
EventServiceFactory
public EventServiceFactory(EventStore store)
-
EventServiceFactory
public EventServiceFactory()
A java helper to construct EventServiceFactory
-
-
Method Detail
-
make
public csw.event.api.scaladsl.EventService make(csw.location.api.scaladsl.LocationService locationService, akka.actor.typed.ActorSystem<?> system)API to createEventServiceusingLocationServiceto resolve Event Server.- Parameters:
locationService- instance of location servicesystem- an actor system required for underlying event streams- Returns:
EventServicewhich provides handles toEventPublisherandEventSubscriber
-
make
public csw.event.api.scaladsl.EventService make(java.lang.String host, int port, akka.actor.typed.ActorSystem<?> system)API to createEventServiceusing host and port of Event Server.- Parameters:
host- hostname of event serverport- port on which event server is runningsystem- an actor system required for underlying event streams- Returns:
EventServicewhich provides handles toEventPublisherandEventSubscriber
-
jMake
public IEventService jMake(ILocationService locationService, akka.actor.typed.ActorSystem<?> actorSystem)
Java API to createIEventServiceusingILocationServiceto resolve Event Server.- Parameters:
locationService- instance of location serviceactorSystem- an actor system required for underlying event streams- Returns:
IEventServicewhich provides handles toIEventPublisherandIEventSubscriber
-
jMake
public IEventService jMake(java.lang.String host, int port, akka.actor.typed.ActorSystem<?> system)
Java API to createIEventServiceusing host and port of Event Server.- Parameters:
host- hostname of event serverport- port on which event server is runningsystem- an actor system required for underlying event streams- Returns:
IEventServicewhich provides handles toIEventPublisherandIEventSubscriber
-
-