1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.pluto.services.information;
21
22 import org.apache.pluto.PortletContainerServices;
23
24 public class InformationProviderAccess
25 {
26
27 public static StaticInformationProvider getStaticProvider()
28 {
29 return getContainerService().getStaticProvider();
30 }
31
32 public static DynamicInformationProvider getDynamicProvider(javax.servlet.http.HttpServletRequest request)
33 {
34 return getContainerService().getDynamicProvider(request);
35 }
36
37 private static InformationProviderService getContainerService()
38 {
39 return (InformationProviderService)PortletContainerServices.get(InformationProviderService.class);
40 }
41
42 }