1 5 6 package org.exoplatform.portlets.wsrp; 7 8 import java.util.*; 9 import java.io.IOException ; 10 import java.io.Writer ; 11 import javax.portlet.* ; 12 import javax.portlet.PortletSession; 13 14 import org.apache.commons.logging.Log; 15 import org.exoplatform.services.wsrp.consumer.*; 16 22 public class UIWSRPConfig { 23 private Log log_ ; 24 private UIProducers uiProducers_ ; 25 26 public UIWSRPConfig(ConsumerEnvironment env, Log log) throws Exception { 27 log_ = log ; 28 ProducerRegistry pregistry = env.getProducerRegistry() ; 29 uiProducers_ = new UIProducers(pregistry, log) ; 30 } 31 32 public void render(RenderRequest request, RenderResponse response, ResourceBundle res) throws Exception { 33 uiProducers_.render(request, response, res) ; 34 } 35 36 public void processAction(ActionRequest request, ActionResponse response) throws Exception { 37 uiProducers_.processAction(request, response) ; 38 } 39 } 40 | Popular Tags |