|
||||||||||
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
Field Summary | |
private APIFactory |
apiFactory
. |
private java.lang.ClassLoader |
classLoader
. |
private JBossApplicationMetaData |
jbossAppMD
. |
private KernelControllerContext |
kernelControllerContext
. |
private PortletApplicationImpl |
portletApp
. |
private PortletApplicationMetaData |
portletAppMD
. |
private PortletApplicationRegistry |
registry
. |
private javax.servlet.ServletContext |
servletContext
. |
Constructor Summary | |
PortletApplicationContextImpl(PortletApplicationRegistry registry,
APIFactory apiFactory,
PortletApplicationMetaData portletAppMD,
JBossApplicationMetaData jbossAppMD,
javax.servlet.ServletContext servletContext,
java.lang.ClassLoader classLoader)
|
Method Summary | |
java.lang.ClassLoader |
getClassLoader()
Return the classloader. |
PortletApplicationImpl |
getPortletApplication()
|
javax.servlet.ServletContext |
getServletContext()
Return the servlet context. |
void |
setKernelControllerContext(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(KernelControllerContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private PortletApplicationRegistry registry
private APIFactory apiFactory
private PortletApplicationMetaData portletAppMD
private JBossApplicationMetaData jbossAppMD
private PortletApplicationImpl portletApp
private KernelControllerContext kernelControllerContext
private javax.servlet.ServletContext servletContext
private java.lang.ClassLoader classLoader
Constructor Detail |
public PortletApplicationContextImpl(PortletApplicationRegistry registry, APIFactory apiFactory, PortletApplicationMetaData portletAppMD, JBossApplicationMetaData jbossAppMD, javax.servlet.ServletContext servletContext, 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.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(KernelControllerContext context) throws java.lang.Exception
java.lang.Exception
public void unsetKernelControllerContext(KernelControllerContext context) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |