站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

WebApp - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.server.app
Interface WebApp

All Known Implementing Classes:
PortletWebApp

public interface WebApp

A web application which is a container for components.


Method Summary
 Component getComponent(java.lang.String id)
          Return a specific component.
 java.util.Set getComponents()
          Return the set of components part of this web application.
 java.lang.String getContextPath()
          Return the context path.
 java.lang.String getId()
          Return the web app id.
 java.lang.ClassLoader getLoader()
          Return the application classloader.
 javax.servlet.ServletContext getServletContext()
          Return the servlet context.
 

Method Detail

getId

public java.lang.String getId()
Return the web app id.


getComponents

public java.util.Set getComponents()
Return the set of components part of this web application.


getComponent

public Component getComponent(java.lang.String id)
Return a specific component.


getServletContext

public javax.servlet.ServletContext getServletContext()
Return the servlet context.


getContextPath

public java.lang.String getContextPath()
Return the context path.


getLoader

public java.lang.ClassLoader getLoader()
Return the application classloader.