1 package dst.ass3.messaging;
3 import java.io.Closeable;
4 import java.io.IOException;
6 public interface IMessagingFactory extends Closeable {
8 IQueueManager createQueueManager();
10 IRequestGateway createRequestGateway();
12 IWorkloadMonitor createWorkloadMonitor();
15 * Closes any resource the factory may create.
17 * @throws IOException propagated exceptions
20 void close() throws IOException;