How do you create Singleton Objects in IBM Rational Rhapsody ?
You want to restrict the instantiation of a class to just one object which contains a port.
- Create class in the project
- Apply the stereotype Singleton on it
- Add a port to the class
- Make an object (Right click on class > Make an Object)
- Generate code