|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.jportlet.portlet.application.CacheInterceptor
This interceptor get the portlet content from the cache.
Field Summary | |
static java.lang.String |
ANONYMOUS_ID
Deprecated. |
Fields inherited from interface net.sf.jportlet.portlet.application.Interceptor |
CONTINUE, SKIP |
Constructor Summary | |
CacheInterceptor()
Deprecated. |
Method Summary | |
void |
afterActionPerformed(net.sf.jportlet.portlet.application.PortletProxy proxy,
net.sf.jportlet.portlet.event.ActionEvent event)
Deprecated. This method is called after the ActionListener#actionPerformed(net.sf.jportlet.portlet.event.ActionEvent) |
void |
afterService(net.sf.jportlet.portlet.application.PortletProxy proxy,
net.sf.jportlet.portlet.PortletRequest request,
net.sf.jportlet.portlet.PortletResponse response)
Deprecated. This method is called after Portlet.service(net.sf.jportlet.portlet.PortletRequest, net.sf.jportlet.portlet.PortletResponse) |
int |
beforeActionPerformed(net.sf.jportlet.portlet.application.PortletProxy proxy,
net.sf.jportlet.portlet.event.ActionEvent event)
Deprecated. This method is called before the ActionListener#actionPerformed(net.sf.jportlet.portlet.event.ActionEvent) of a portlet is
invoed |
int |
beforeService(net.sf.jportlet.portlet.application.PortletProxy proxy,
net.sf.jportlet.portlet.PortletRequest request,
net.sf.jportlet.portlet.PortletResponse response)
Deprecated. This method is called before Portlet.service(net.sf.jportlet.portlet.PortletRequest, net.sf.jportlet.portlet.PortletResponse) |
net.sf.jportlet.service.cache.CacheService |
getCacheService(net.sf.jportlet.portlet.application.PortletProxy proxy)
Deprecated. |
java.lang.String |
getId(net.sf.jportlet.portlet.application.PortletProxy proxy,
net.sf.jportlet.portlet.PortletRequest request,
net.sf.jportlet.portlet.PortletResponse response)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ANONYMOUS_ID
Constructor Detail |
public CacheInterceptor()
Method Detail |
public void afterActionPerformed(net.sf.jportlet.portlet.application.PortletProxy proxy, net.sf.jportlet.portlet.event.ActionEvent event) throws PortletException
Interceptor
ActionListener#actionPerformed(net.sf.jportlet.portlet.event.ActionEvent)
afterActionPerformed
in interface Interceptor
proxy
- Portlet proxyevent
- Action event to perform
PortletException
- if any error occursnet.sf.jportlet.portlet.application.Interceptor#adterActionPerformed(net.sf.jportlet.portlet.application.PortletProxy, net.sf.jportlet.portlet.PortletRequest, net.sf.jportlet.portlet.PortletResponse)
public void afterService(net.sf.jportlet.portlet.application.PortletProxy proxy, net.sf.jportlet.portlet.PortletRequest request, net.sf.jportlet.portlet.PortletResponse response) throws PortletException, java.io.IOException
Interceptor
Portlet#service(net.sf.jportlet.portlet.PortletRequest, net.sf.jportlet.portlet.PortletResponse)
afterService
in interface Interceptor
proxy
- portlet proxyrequest
- portlet requestresponse
- portlet response
Interceptor.CONTINUE
or Interceptor.SKIP
PortletException
java.io.IOException
Interceptor.afterService(net.sf.jportlet.portlet.application.PortletProxy, net.sf.jportlet.portlet.PortletRequest, net.sf.jportlet.portlet.PortletResponse)
public int beforeActionPerformed(net.sf.jportlet.portlet.application.PortletProxy proxy, net.sf.jportlet.portlet.event.ActionEvent event) throws PortletException
Interceptor
ActionListener#actionPerformed(net.sf.jportlet.portlet.event.ActionEvent)
of a portlet is
invoed
beforeActionPerformed
in interface Interceptor
proxy
- Portlet proxyevent
- Action event to perform
Interceptor.CONTINUE
or Interceptor.SKIP
PortletException
- if any error occursnet.sf.jportlet.portlet.application.Interceptor#beforeActionPerformed(net.sf.jportlet.portlet.application.PortletProxy, net.sf.jportlet.portlet.PortletRequest, net.sf.jportlet.portlet.PortletResponse)
public int beforeService(net.sf.jportlet.portlet.application.PortletProxy proxy, net.sf.jportlet.portlet.PortletRequest request, net.sf.jportlet.portlet.PortletResponse response) throws PortletException, java.io.IOException
Interceptor
Portlet#service
beforeService
in interface Interceptor
proxy
- portlet proxyrequest
- portlet requestresponse
- portlet response
PortletException
java.io.IOException
net.sf.jportlet.portlet.application.Interceptor#beforService(net.sf.jportlet.portlet.application.PortletProxy, net.sf.jportlet.portlet.PortletRequest, net.sf.jportlet.portlet.PortletResponse)
public net.sf.jportlet.service.cache.CacheService getCacheService(net.sf.jportlet.portlet.application.PortletProxy proxy) throws PortletException
PortletException
public java.lang.String getId(net.sf.jportlet.portlet.application.PortletProxy proxy, net.sf.jportlet.portlet.PortletRequest request, net.sf.jportlet.portlet.PortletResponse response)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |