| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.portlet.container.PortletContainer
| Field Summary | |
protected  PortletApplicationImpl | 
application
.  | 
protected  PortletResourceBundleManager | 
bundleMgr
.  | 
protected  java.lang.String | 
className
The portlet implementation class name.  | 
protected  PortletConfig | 
config
The portlet config.  | 
protected  ContentTypes | 
contentTypes
.  | 
protected  PortletInfo | 
info
Return info.  | 
protected  JBossPortletMetaData | 
jbossMetaData
.  | 
protected  org.jboss.logging.Logger | 
log
Logger.  | 
protected  PortletMetaData | 
metaData
.  | 
protected  Portlet | 
portlet
The portlet instance.  | 
protected  PortletContext | 
portletContext
.  | 
protected  PreferencesValidator | 
preferencesValidator
The preference validator, this is not exposed as runtime meta data as it is only used by the JSR 168 portlet container implementation.  | 
protected  java.util.Map | 
securityRoleRefsMap
Give the correspondance between role name and role link.  | 
protected  boolean | 
started
Are we started or not.  | 
protected  java.util.Set | 
userDataConstraints
User data constraint.  | 
protected  Valve | 
valve
The invocation valve.  | 
| Constructor Summary | |
PortletContainer(PortletApplicationImpl application,
                 PortletMetaData metaData,
                 JBossPortletMetaData jbossMetaData)
 | 
|
| Method Summary | |
private  void | 
destroyPortlet(Portlet portlet)
Destroy the portlet.  | 
 PortletInvocationResponse | 
dispatch(PortletInvocation invocation)
 | 
 PortletApplication | 
getApplication()
 | 
 PortletConfig | 
getConfig()
 | 
 ContentTypes | 
getContentTypes()
 | 
 PortletContext | 
getContext()
Return the portlet context.  | 
 PortletInfo | 
getInfo()
Return the portlet info.  | 
 JBossPortletMetaData | 
getJBossMetaData()
 | 
 PortletMetaData | 
getMetaData()
 | 
 java.lang.String | 
getName()
 | 
 Portlet | 
getPortlet()
 | 
 PreferencesValidator | 
getPreferencesValidator()
 | 
 java.util.Map | 
getSecurityRoleRefsMap()
 | 
 java.util.Set | 
getUserDataConstraints()
 | 
 Valve | 
getValve()
 | 
private  void | 
initPortlet(Portlet portlet,
            PortletConfig config)
Initialize the portlet.  | 
protected  PortletInvocationResponse | 
invokeAction(ActionInvocation invocation)
 | 
protected  PortletInvocationResponse | 
invokeRender(RenderInvocation invocation)
 | 
 boolean | 
isRemote()
Determines whether the described portlet is remote or not.  | 
 boolean | 
isStarted()
 | 
 void | 
start()
 | 
 void | 
stop()
 | 
 java.lang.String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
protected final org.jboss.logging.Logger log
protected PortletApplicationImpl application
protected PortletMetaData metaData
protected JBossPortletMetaData jbossMetaData
protected java.lang.String className
protected PortletConfig config
protected Portlet portlet
protected ContentTypes contentTypes
protected PortletResourceBundleManager bundleMgr
protected final Valve valve
protected java.util.Map securityRoleRefsMap
protected boolean started
protected java.util.Set userDataConstraints
protected PortletInfo info
protected PortletContext portletContext
protected PreferencesValidator preferencesValidator
| Constructor Detail | 
public PortletContainer(PortletApplicationImpl application, PortletMetaData metaData, JBossPortletMetaData jbossMetaData)
| Method Detail | 
public PortletInfo getInfo()
Portlet
public PortletContext getContext()
Portlet
getContext in interface Portletpublic boolean isRemote()
Portlet
true if the described portlet runs in a remote context (such as WSRP), false
         otherwisepublic java.lang.String getName()
public PortletMetaData getMetaData()
public JBossPortletMetaData getJBossMetaData()
public boolean isStarted()
public void start()
           throws java.lang.Exception,
                  PortletInitializationException
java.lang.Exception
PortletInitializationExceptionpublic void stop()
public PortletConfig getConfig()
public Portlet getPortlet()
public ContentTypes getContentTypes()
public java.util.Map getSecurityRoleRefsMap()
public PortletApplication getApplication()
public Valve getValve()
public java.util.Set getUserDataConstraints()
public PreferencesValidator getPreferencesValidator()
public java.lang.String toString()
private void initPortlet(Portlet portlet, PortletConfig config) throws PortletException
PortletExceptionprivate void destroyPortlet(Portlet portlet)
public PortletInvocationResponse dispatch(PortletInvocation invocation) throws PortletInvokerException, InvocationException
protected PortletInvocationResponse invokeAction(ActionInvocation invocation) throws java.io.IOException, PortletException
java.io.IOException
PortletExceptionprotected PortletInvocationResponse invokeRender(RenderInvocation invocation) throws java.io.IOException, PortletException
java.io.IOException
PortletException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||