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-jmx-demo/src/java/org/apache/cornerstone/framework/demo/jmx Demo1.java
Date Wed, 17 Mar 2004 02:10:55 GMT
jyang       2004/03/16 18:10:55

  Modified:    cornerstone-jmx-demo/src/java/org/apache/cornerstone/framework/demo/jmx
  updated to use Cornerstone.getImplementation()
  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 -4      jakarta-jetspeed-2/cornerstone-jmx-demo/src/java/org/apache/cornerstone/framework/demo/jmx/Demo1.java
  Index: Demo1.java
  RCS file: /home/cvs/jakarta-jetspeed-2/cornerstone-jmx-demo/src/java/org/apache/cornerstone/framework/demo/jmx/Demo1.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Demo1.java	8 Mar 2004 01:18:46 -0000	1.2
  +++ Demo1.java	17 Mar 2004 02:10:55 -0000	1.3
  @@ -13,9 +13,8 @@
    * See the License for the specific language governing permissions and
    * limitations under the License.
  -package org.apache.cornerstone.framework.demo.jmx;
  -import java.io.IOException;
  +package org.apache.cornerstone.framework.demo.jmx;
   import org.apache.cornerstone.framework.api.jmx.IJMXManager;
   import org.apache.cornerstone.framework.init.Cornerstone;
  @@ -38,7 +37,7 @@
   		LogServiceMetric logServiceMetric = new LogServiceMetric(logService);
   		// get hold of JMX manager
  -		IJMXManager jmxManager = (IJMXManager) Cornerstone.getManager(IJMXManager.class);
  +		IJMXManager jmxManager = (IJMXManager) Cornerstone.getImplementation(IJMXManager.class);
   		// let logServiceMetric be managed

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

View raw message