Feature #122
add union.xml config option to define preset modules for rooms
| Status : | New | Start : | 04/02/2009 | |
| Priority : | Normal | Due date : | ||
| Assigned to : | derek clayton | % Done : | 0% |
|
| Category : | Configuration | |||
| Target version : | Future | |||
Description
- always deploy module x on rooms
- deploy module x for all rooms of a given qualifier
- deploy module x for a room by a specific id
Current Implementation Thinking
Add a new section in the union.xml under <union> called <room-templates> where <room-template qualifier="chat.*"> can be defined with a set of modules. Example:
<room-templates>
<room-template qualifier="chat.*">
<modules>
<module>
<source type="class">modules.room.ChatModule</source>
</module>
</modules>
</room-template>
</room-templates>
In this case the module "modules.room.ChatModule" would be deployed to every room that started with the chat.* qualifier.
Issues
It's not entirely a template since the creation process (example a Reactor client requesting to create a room) still specifies modules to be deployed. It really is a starting template for the rooms with additional modules specified by the creating process.
History
Also available in: Atom