1 16 package org.apache.cocoon.portal.impl; 17 18 import org.apache.avalon.framework.activity.Initializable; 19 import org.apache.avalon.framework.parameters.Parameters; 20 import org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter; 21 import org.apache.cocoon.util.Deprecation; 22 23 30 public class PortletPortalManager 31 extends PortalManagerImpl 32 implements Initializable { 33 34 37 public void initialize() throws Exception { 38 Deprecation.logger.info("The PortletPortalManager is deprecated. Please use the PortletPortalManagerAspect instead."); 39 PortletAdapter aspect = (PortletAdapter)this.adapterSelector.select("portlet"); 40 this.chain.addAsFirst(aspect, new Parameters()); 41 } 42 } 43 44 | Popular Tags |