当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
PortalWebAppFactory - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.server.deployment
Class PortalWebAppFactory
java.lang.Object
org.jboss.portal.server.deployment.PortalWebAppFactory
- public class PortalWebAppFactory
- extends java.lang.Object
Creates the JBossWebApp according to the JBossWeb found.
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
Method Summary |
PortalWebApp |
create(org.jboss.web.WebApplication webApp)
Create a portal web application. |
private static int |
getVersion()
Recognize the jbossweb container and returns its version. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.log4j.Logger log
EMPTY_CLASS_ARRAY
private static final java.lang.Class[] EMPTY_CLASS_ARRAY
EMPTY_OBJECT_ARRAY
private static final java.lang.Object[] EMPTY_OBJECT_ARRAY
UNKNOWN
private static final int UNKNOWN
- See Also:
- Constant Field Values
TOMCAT4
private static final int TOMCAT4
- See Also:
- Constant Field Values
TOMCAT5
private static final int TOMCAT5
- See Also:
- Constant Field Values
TOMCAT6
private static final int TOMCAT6
- See Also:
- Constant Field Values
server
private final javax.management.MBeanServer server
PortalWebAppFactory
public PortalWebAppFactory(javax.management.MBeanServer server)
create
public PortalWebApp create(org.jboss.web.WebApplication webApp)
throws CannotCreatePortletWebAppException
- Create a portal web application.
- Returns:
- the portal web app or null if it cannot be created.
- Throws:
CannotCreatePortletWebAppException
getVersion
private static int getVersion()
- Recognize the jbossweb container and returns its version.