1 16 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 } 43 | Popular Tags |