|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.container.invoker.LocalPortletInvoker
public class LocalPortletInvoker
LocalPortletInvoker invokes local (internal) portlet applications. Local portlet applications are stored within the Jetspeed Portlet application. They are not separate web applications; but are stored under Jetspeed's WEB-INF/apps directory.
factory.invoker.local = org.apache.jetspeed.container.invoker.LocalPortletInvoker
factory.invoker.local.pool.size = 50
Field Summary | |
---|---|
protected boolean |
activated
|
protected javax.servlet.ServletConfig |
jetspeedConfig
|
protected javax.servlet.ServletContext |
jetspeedContext
|
private static org.apache.commons.logging.Log |
log
|
protected org.apache.pluto.om.portlet.PortletDefinition |
portletDefinition
|
protected org.apache.jetspeed.factory.PortletFactory |
portletFactory
|
Constructor Summary | |
---|---|
LocalPortletInvoker()
|
Method Summary | |
---|---|
void |
action(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
|
void |
activate(org.apache.jetspeed.factory.PortletFactory portletFactory,
org.apache.pluto.om.portlet.PortletDefinition portletDefinition,
javax.servlet.ServletConfig servletConfig)
Activating an invoker makes it ready to invoke portlets. |
void |
activate(org.apache.jetspeed.factory.PortletFactory portletFactory,
org.apache.pluto.om.portlet.PortletDefinition portletDefinition,
javax.servlet.ServletConfig servletConfig,
String servletMappingName)
Activating an invoker makes it ready to invoke portlets. |
protected void |
invoke(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse,
Integer method)
Invokes the specific request denoted by the method parameter on a portlet. |
boolean |
isActivated()
Returns true if the state of this invoke is 'activated', and false if it is 'passivated'. |
void |
load(javax.portlet.PortletRequest request,
javax.portlet.RenderResponse response)
|
void |
passivate()
Passivates an invoker, freeing it back to the invoker pool. |
void |
render(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
protected org.apache.jetspeed.factory.PortletFactory portletFactory
protected javax.servlet.ServletContext jetspeedContext
protected javax.servlet.ServletConfig jetspeedConfig
protected org.apache.pluto.om.portlet.PortletDefinition portletDefinition
protected boolean activated
Constructor Detail |
---|
public LocalPortletInvoker()
Method Detail |
---|
public void activate(org.apache.jetspeed.factory.PortletFactory portletFactory, org.apache.pluto.om.portlet.PortletDefinition portletDefinition, javax.servlet.ServletConfig servletConfig)
JetspeedPortletInvoker
activate
in interface JetspeedPortletInvoker
portletFactory
- The factory to get access to the portlet being invoked.portletDefinition
- The portlet's definition that is being invoked.servletConfig
- The servlet configuration of the portal.public void passivate()
JetspeedPortletInvoker
passivate
in interface JetspeedPortletInvoker
public boolean isActivated()
JetspeedPortletInvoker
isActivated
in interface JetspeedPortletInvoker
public void action(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response) throws javax.portlet.PortletException, IOException
action
in interface org.apache.pluto.invoker.PortletInvoker
javax.portlet.PortletException
IOException
public void render(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
render
in interface org.apache.pluto.invoker.PortletInvoker
javax.portlet.PortletException
IOException
public void load(javax.portlet.PortletRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException
load
in interface org.apache.pluto.invoker.PortletInvoker
javax.portlet.PortletException
protected void invoke(javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse, Integer method) throws javax.portlet.PortletException, IOException
method
parameter on a portlet.
The portlet is invoked with a direct method call on the portlet. It is not invoked in another web application.
This requires manipulation of the current thread's classpath.
portletRequest
- portletResponse
- methodID
-
javax.portlet.PortletException
IOException
public void activate(org.apache.jetspeed.factory.PortletFactory portletFactory, org.apache.pluto.om.portlet.PortletDefinition portletDefinition, javax.servlet.ServletConfig servletConfig, String servletMappingName)
JetspeedPortletInvoker
activate
in interface JetspeedPortletInvoker
portletFactory
- The factory to get access to the portlet being invoked.portletDefinition
- The portlet's definition that is being invoked.servletConfig
- The servlet configuration of the portal.servletMappingName
- Implementation specific property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |