public final class CacheNotificationService extends AbstractNotificationService
usernameFinder| Constructor and Description |
|---|
CacheNotificationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(javax.portlet.EventRequest req,
javax.portlet.EventResponse res)
Subclasses of
AbstractNotificationService that need to perform
some logic within this method should override it. |
org.jasig.portlet.notice.NotificationResponse |
fetch(javax.portlet.PortletRequest req)
Provide the current collection of Notifications information for the user
represented by the
PortletRequest. |
void |
init() |
void |
invoke(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
boolean refresh)
Subclasses of
AbstractNotificationService that need to perform
some logic within this method should override it. |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setCache(net.sf.ehcache.Cache cache) |
void |
setEmbeddedServices(java.util.List<INotificationService> embeddedServices) |
createServiceUserWindowSpecificCacheKey, fetch, getName, isValid, prepareErrorResponse, setName@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
public void setEmbeddedServices(java.util.List<INotificationService> embeddedServices)
public void setCache(net.sf.ehcache.Cache cache)
@PostConstruct public void init()
public void invoke(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
boolean refresh)
AbstractNotificationServiceAbstractNotificationService that need to perform
some logic within this method should override it.invoke in interface INotificationServiceinvoke in class AbstractNotificationServicereq - The current ActionRequestres - The current ActionResponserefresh - If true, the service should expire any cached datapublic void collect(javax.portlet.EventRequest req,
javax.portlet.EventResponse res)
AbstractNotificationServiceAbstractNotificationService that need to perform
some logic within this method should override it.collect in interface INotificationServicecollect in class AbstractNotificationServicereq - The current EventRequestres - The current EventResponsepublic org.jasig.portlet.notice.NotificationResponse fetch(javax.portlet.PortletRequest req)
INotificationServicePortletRequest.req - The PortletRequest