|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.portlet.impl.jsr168.PortletContainerImpl
public class PortletContainerImpl
Field Summary | |
---|---|
protected PortletApplicationImpl |
application
. |
protected java.lang.String |
className
The portlet implementation class name. |
protected PortletConfig |
config
The portlet config. |
protected PortletInfo |
info
Return info. |
protected JBossPortletMetaData |
jbossMetaData
. |
protected org.apache.log4j.Logger |
log
Logger. |
protected PortletMetaData |
metaData
. |
protected Portlet |
portlet
The portlet instance. |
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 | |
---|---|
PortletContainerImpl(PortletMetaData metaData,
JBossPortletMetaData jbossMetaData)
|
Method Summary | |
---|---|
PortletInvocationResponse |
dispatch(PortletInvocation invocation)
|
PortletApplication |
getApplication()
Return the portlet application of this container. |
PortletConfig |
getConfig()
|
java.lang.String |
getId()
Return the portlet container id, unique within the context of the parent application. |
PortletInfo |
getInfo()
Returns the runtime meta data of the container. |
JBossPortletMetaData |
getJBossMetaData()
|
PortletMetaData |
getMetaData()
|
Portlet |
getPortlet()
|
PreferencesValidator |
getPreferencesValidator()
|
java.util.Map |
getSecurityRoleRefsMap()
|
java.util.Set |
getUserDataConstraints()
|
Valve |
getValve()
|
protected PortletInvocationResponse |
invokeAction(ActionInvocation invocation)
|
protected PortletInvocationResponse |
invokeRender(RenderInvocation invocation)
|
boolean |
isStarted()
|
void |
setApplication(PortletApplication application)
|
void |
start()
Starts the portlet container. |
void |
stop()
Stops the portlet container. |
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.apache.log4j.Logger log
protected PortletApplicationImpl application
protected PortletMetaData metaData
protected JBossPortletMetaData jbossMetaData
protected java.lang.String className
protected PortletConfig config
protected Portlet portlet
protected final Valve valve
protected java.util.Map securityRoleRefsMap
protected boolean started
protected java.util.Set userDataConstraints
protected PortletInfo info
protected PreferencesValidator preferencesValidator
Constructor Detail |
---|
public PortletContainerImpl(PortletMetaData metaData, JBossPortletMetaData jbossMetaData)
Method Detail |
---|
public PortletInfo getInfo()
PortletContainer
getInfo
in interface PortletContainer
public java.lang.String getId()
PortletContainer
getId
in interface PortletContainer
public PortletMetaData getMetaData()
public JBossPortletMetaData getJBossMetaData()
public boolean isStarted()
public void start() throws PortletInitializationException
PortletContainer
start
in interface PortletContainer
PortletInitializationException
public void stop()
PortletContainer
stop
in interface PortletContainer
public PortletConfig getConfig()
public Portlet getPortlet()
public java.util.Map getSecurityRoleRefsMap()
public PortletApplication getApplication()
PortletContainer
getApplication
in interface PortletContainer
public void setApplication(PortletApplication application)
setApplication
in interface PortletContainer
public Valve getValve()
getValve
in interface PortletContainer
public java.util.Set getUserDataConstraints()
public PreferencesValidator getPreferencesValidator()
public java.lang.String toString()
toString
in class java.lang.Object
public PortletInvocationResponse dispatch(PortletInvocation invocation) throws PortletInvokerException, InvocationException
dispatch
in interface PortletContainer
PortletInvokerException
InvocationException
protected PortletInvocationResponse invokeAction(ActionInvocation invocation) throws java.io.IOException, PortletException
java.io.IOException
PortletException
protected 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 |