How to get occupants in an MUCRoom

Hey guys, I’m trying to create a plugin that broadcasts a message to specific users in a room. I’m nearly done, but cannot figure out how to get an MUCRoom object with a room name. I’ve seen examples that use MultiUserChatManager and MultiUserChatService, but still can’t figure it out.

Any ideas how I could do something like:

MUCRoom myRoom = rooms.getRoomByName(“my room name”);