]> git.somenet.org - pub/jan/dst18.git/blob - ass3-messaging/src/main/java/dst/ass3/messaging/IMessagingFactory.java
Add ass3-elastic profile
[pub/jan/dst18.git] / ass3-messaging / src / main / java / dst / ass3 / messaging / IMessagingFactory.java
1 package dst.ass3.messaging;
2
3 import java.io.Closeable;
4 import java.io.IOException;
5
6 public interface IMessagingFactory extends Closeable {
7
8     IQueueManager createQueueManager();
9
10     IRequestGateway createRequestGateway();
11
12     IWorkloadMonitor createWorkloadMonitor();
13
14     /**
15      * Closes any resource the factory may create.
16      *
17      * @throws IOException propagated exceptions
18      */
19     @Override
20     void close() throws IOException;
21 }