portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jy...@apache.org
Subject cvs commit: jakarta-jetspeed-2/cornerstone/src/java/org/apache/cornerstone/framework/jmx ModelMBeanDescriptorBuilderFactory.java
Date Tue, 16 Mar 2004 03:03:39 GMT
jyang       2004/03/15 19:03:39

  Modified:    cornerstone/src/java/org/apache/cornerstone/framework/jmx
                        ModelMBeanDescriptorBuilderFactory.java
  Log:
  use mini implementation manager of Cornerstone
  PR:
  Obtained from:
  Submitted by:	
  Reviewed by:	
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.3       +3 -2      jakarta-jetspeed-2/cornerstone/src/java/org/apache/cornerstone/framework/jmx/ModelMBeanDescriptorBuilderFactory.java
  
  Index: ModelMBeanDescriptorBuilderFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/cornerstone/src/java/org/apache/cornerstone/framework/jmx/ModelMBeanDescriptorBuilderFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ModelMBeanDescriptorBuilderFactory.java	10 Mar 2004 01:30:56 -0000	1.2
  +++ ModelMBeanDescriptorBuilderFactory.java	16 Mar 2004 03:03:39 -0000	1.3
  @@ -16,6 +16,7 @@
   
   package org.apache.cornerstone.framework.jmx;
   
  +import org.apache.cornerstone.framework.api.singleton.ISingletonManager;
   import org.apache.cornerstone.framework.factory.BaseFactory;
   import org.apache.cornerstone.framework.init.Cornerstone;
   import org.apache.log4j.Logger;
  @@ -44,7 +45,7 @@
       */
       public Object createInstance()
       {
  -        ModelMBeanDescriptorBuilder modelMBeanDescriptorBuilder = (ModelMBeanDescriptorBuilder)
Cornerstone.getSingletonManager().getSingleton("com.cisco.salesit.framework.sysmgmt.ModelMBeanDescriptorBuilder");
  +        ModelMBeanDescriptorBuilder modelMBeanDescriptorBuilder = ModelMBeanDescriptorBuilder.getSingleton();
   
           if ( modelMBeanDescriptorBuilder != null )
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message