|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.Exception
public void stop()
public PortletApplicationImpl getPortletApplication()
public javax.servlet.ServletContext getServletContext()
PortletApplicationContext
getServletContext
in interface PortletApplicationContext
public java.lang.String getContextPath()
PortletApplicationContext
getContextPath
in interface PortletApplicationContext
public java.lang.ClassLoader getClassLoader()
PortletApplicationContext
getClassLoader
in interface PortletApplicationContext
public void startPortlet(java.lang.String portletName) throws java.lang.Exception
PortletApplicationContext
startPortlet
in interface PortletApplicationContext
portletName
- the portlet name
java.lang.Exception
- any exception that prevents the portlet to startpublic void stopPortlet(java.lang.String portletName) throws java.lang.Exception
PortletApplicationContext
stopPortlet
in interface PortletApplicationContext
portletName
- the portlet name
java.lang.Exception
- any exception that may occur during the portlet stoppublic void setKernelControllerContext(org.jboss.kernel.spi.dependency.KernelControllerContext context) throws java.lang.Exception
setKernelControllerContext
in interface org.jboss.kernel.spi.dependency.KernelControllerContextAware
java.lang.Exception
public void unsetKernelControllerContext(org.jboss.kernel.spi.dependency.KernelControllerContext context) throws java.lang.Exception
unsetKernelControllerContext
in interface org.jboss.kernel.spi.dependency.KernelControllerContextAware
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |