Question: Consider an application that requires event-logging capabilities. The application consists of many different objects that generate events to keep track of their actions, status of

Consider an application that requires event-logging capabilities. The application consists of many different objects that generate events to keep track of their actions, status of operations, errors, or any other information of interest. A decision is made to create an event manager that can be accessed by all objects and used to manage all events in the system. Upon instantiation, the event manager creates an event list that gets updated as events are logged. At specific points during the software system's operation, these events are written to a file. To prevent conflicts, it is desirable that at any given time there is only one instance of the even manager executing. Propose an object-oriented design for this application.

1. If  design is based on a specific design pattern,  identify the design pattern.

2. Create a UML class diagram documenting your design.

Step by Step Solution

3.35 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

ObjectOriented Design for Event Logging Application Design Pattern Singleton Pattern The Singleton P... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!