1 25 26 package org.objectweb.jonas.webapp.jonasadmin.service.container; 27 28 import java.io.IOException ; 29 30 import javax.servlet.ServletException ; 31 import javax.servlet.http.HttpServletRequest ; 32 import javax.servlet.http.HttpServletResponse ; 33 34 import org.apache.struts.action.ActionForm; 35 import org.apache.struts.action.ActionForward; 36 import org.apache.struts.action.ActionMapping; 37 import org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction; 38 import org.objectweb.jonas.webapp.jonasadmin.WhereAreYou; 39 40 45 46 public class ViewContainerEjbsAction extends JonasBaseAction { 47 48 50 public ActionForward executeAction(ActionMapping p_Mapping, ActionForm p_Form 51 , HttpServletRequest p_Request, HttpServletResponse p_Response) 52 throws IOException , ServletException { 53 54 ContainerForm oForm = (ContainerForm) m_Session.getAttribute("containerForm"); 56 String nodeName = getTreeBranchName(DEPTH_SERVER) + WhereAreYou.NODE_SEPARATOR 57 + "services" + WhereAreYou.NODE_SEPARATOR + "ejbContainers" 58 + WhereAreYou.NODE_SEPARATOR + oForm.getFilename(); 59 m_WhereAreYou.selectNameNode(nodeName, true); 60 61 return (p_Mapping.findForward("Container Ejbs")); 63 } 64 } 65 | Popular Tags |