weaver 2003/10/18 12:54:19
Modified: portal/src/java/org/apache/jetspeed/mbeans/registry
RegistryMBeanImpl.java
Log:
All fulcrum, ServiceUtil AND JetpseedServices references removed and
replaces with CPS.
Revision Changes Path
1.2 +5 -4
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/mbeans/registry/RegistryMBeanImpl.java
Index: RegistryMBeanImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/mbeans/registry/RegistryMBeanImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- RegistryMBeanImpl.java 28 Jul 2003 23:47:39 -0000 1.1
+++ RegistryMBeanImpl.java 18 Oct 2003 19:54:19 -0000 1.2
@@ -57,9 +57,9 @@
import java.util.Iterator;
import java.util.List;
+import org.apache.jetspeed.cps.CommonPortletServices;
import org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite;
import org.apache.jetspeed.services.registry.PortletRegistryService;
-import org.apache.jetspeed.util.ServiceUtil;
/**
*
@@ -95,8 +95,9 @@
* @see org.apache.jetspeed.mbeans.registry.RegistryMBean#getPortletList()
*/
public List getPortlets()
- {
- PortletRegistryService prs = (PortletRegistryService)
ServiceUtil.getServiceByName(PortletRegistryService.SERVICE_NAME);
+ {
+ PortletRegistryService prs =
+ (PortletRegistryService)
CommonPortletServices.getPortalService(PortletRegistryService.SERVICE_NAME);
List portlets = prs.getAllPortletDefinitions();
ArrayList list = new ArrayList(portlets.size());
Iterator itr = portlets.iterator();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]