|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModuleContext
ModuleContext contains contextual information about the environment in which a module is running. Modules use this to obtain references to the server and room modules use this context to get a reference to the room with which they are associated.
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Returns a name-value map of the attributes that have been set for this module. |
Room |
getRoom()
If this is a room module it returns the room associated with the module. |
Server |
getServer()
Gets a reference to the server. |
Method Detail |
---|
Server getServer()
Room getRoom()
java.util.Map<java.lang.String,java.lang.String> getAttributes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |