FileDocCategorySizeDatePackage
RoomsAvailableAction.javaAPI DocApache Struts 2.0.9 Apps1611Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.chat

RoomsAvailableAction

public class RoomsAvailableAction extends com.opensymphony.xwork2.ActionSupport

Fields Summary
private static final long
serialVersionUID
private List
availableRooms
private ChatService
chatService
Constructors Summary
public RoomsAvailableAction(ChatService chatService)


       
        this.chatService = chatService;
    
Methods Summary
public java.lang.Stringexecute()

        availableRooms = chatService.getAvailableRooms();
        return SUCCESS;
    
public java.util.ListgetAvailableRooms()

        return availableRooms;