You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Scott T. Weaver" <sc...@binary-designs.net> on 2004/11/03 15:08:20 UTC
Re: cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/mbeans/registry
RegistryMBeanImpl.java
Do we even need the mbean stuff anymore? We removed all of the JMX
services a couple of weeks ago in favor of just using Spring's JMX
capabilities when the time comes.
ate@apache.org wrote:
>ate 2004/11/04 00:34:20
>
> Modified: portal/src/java/org/apache/jetspeed/mbeans/registry
> RegistryMBeanImpl.java
> Log:
> Corrected misspelled regsitry -> registry
>
> Revision Changes Path
> 1.9 +3 -3 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.8
> retrieving revision 1.9
> diff -u -r1.8 -r1.9
> --- RegistryMBeanImpl.java 3 Nov 2004 17:52:37 -0000 1.8
> +++ RegistryMBeanImpl.java 4 Nov 2004 08:34:20 -0000 1.9
> @@ -59,9 +59,9 @@
> */
> public List getPortlets()
> {
> - PortletRegistry regsitry =
> + PortletRegistry registry =
> (PortletRegistry) Jetspeed.getComponentManager().getComponent(PortletRegistry.class);
> - Collection portlets = regsitry.getAllPortletDefinitions();
> + Collection portlets = registry.getAllPortletDefinitions();
> ArrayList list = new ArrayList(portlets.size());
> Iterator itr = portlets.iterator();
> while (itr.hasNext())
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>
>
>
>
>
--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss people." - Admiral Hyman Rickover
*******************************************
* Scott T. Weaver *
* <we...@apache.org> *
* <http://www.einnovation.com> *
* -------------------------------------- *
* Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container *
* *
* OpenEdit, Website Content Management *
* <http://www.openedit.org> *
*******************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
Re: cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/mbeans/registry
RegistryMBeanImpl.java
Posted by David Sean Taylor <da...@bluesunrise.com>.
Scott T. Weaver wrote:
> Do we even need the mbean stuff anymore? We removed all of the JMX
> services a couple of weeks ago in favor of just using Spring's JMX
> capabilities when the time comes.
>
+1 on removing it and its dependencies in project.xml.
I have some examples here on how to use Spring JMX: it looks very simple.
Scott, dude, can't you spell?
They're blaming my commits for your regsitry typos ;-)
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773 4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org