|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.portlet.container.PortletApplicationContextImpl
| Constructor Summary | |
PortletApplicationContextImpl(PortletApplicationRegistry registry,
APIFactory apiFactory,
PortletApplicationMetaData portletAppMD,
JBossApplicationMetaData jbossAppMD,
javax.servlet.ServletContext servletContext,
java.lang.String contextPath,
java.lang.ClassLoader classLoader)
|
|
| Method Summary | |
java.lang.ClassLoader |
getClassLoader()
Return the classloader. |
java.lang.String |
getContextPath()
Return the context path. |
PortletApplicationImpl |
getPortletApplication()
|
javax.servlet.ServletContext |
getServletContext()
Return the servlet context. |
void |
setKernelControllerContext(org.jboss.kernel.spi.dependency.KernelControllerContext context)
|
void |
start()
|
void |
startPortlet(java.lang.String portletName)
Attempt to start a portlet. |
void |
stop()
|
void |
stopPortlet(java.lang.String portletName)
Stop the portlet. |
void |
unsetKernelControllerContext(org.jboss.kernel.spi.dependency.KernelControllerContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PortletApplicationContextImpl(PortletApplicationRegistry registry, APIFactory apiFactory, PortletApplicationMetaData portletAppMD, JBossApplicationMetaData jbossAppMD, javax.servlet.ServletContext servletContext, java.lang.String contextPath, java.lang.ClassLoader classLoader)
| Method Detail |
public void start()
throws java.lang.Exception
java.lang.Exceptionpublic void stop()
public PortletApplicationImpl getPortletApplication()
public javax.servlet.ServletContext getServletContext()
PortletApplicationContext
getServletContext in interface PortletApplicationContextpublic java.lang.String getContextPath()
PortletApplicationContext
getContextPath in interface PortletApplicationContextpublic java.lang.ClassLoader getClassLoader()
PortletApplicationContext
getClassLoader in interface PortletApplicationContext
public void startPortlet(java.lang.String portletName)
throws java.lang.Exception
PortletApplicationContext
startPortlet in interface PortletApplicationContextportletName - the portlet name
java.lang.Exception - any exception that prevents the portlet to start
public void stopPortlet(java.lang.String portletName)
throws java.lang.Exception
PortletApplicationContext
stopPortlet in interface PortletApplicationContextportletName - the portlet name
java.lang.Exception - any exception that may occur during the portlet stop
public void setKernelControllerContext(org.jboss.kernel.spi.dependency.KernelControllerContext context)
throws java.lang.Exception
setKernelControllerContext in interface org.jboss.kernel.spi.dependency.KernelControllerContextAwarejava.lang.Exception
public void unsetKernelControllerContext(org.jboss.kernel.spi.dependency.KernelControllerContext context)
throws java.lang.Exception
unsetKernelControllerContext in interface org.jboss.kernel.spi.dependency.KernelControllerContextAwarejava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||