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 ta...@apache.org on 2006/11/02 21:32:51 UTC
svn commit: r470511 -
/portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/profiler/ProfileCriterionForm.java
Author: taylor
Date: Thu Nov 2 12:32:50 2006
New Revision: 470511
URL: http://svn.apache.org/viewvc?view=rev&rev=470511
Log:
http://issues.apache.org/jira/browse/JS2-461 - Serializer component
patch from Hajo Birthelmer (hajo@bluesunrise.com)
phase 1 of 2 patches
use profiler new factory api
Modified:
portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/profiler/ProfileCriterionForm.java
Modified: portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/profiler/ProfileCriterionForm.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/profiler/ProfileCriterionForm.java?view=diff&rev=470511&r1=470510&r2=470511
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/profiler/ProfileCriterionForm.java (original)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/profiler/ProfileCriterionForm.java Thu Nov 2 12:32:50 2006
@@ -112,8 +112,13 @@
isNew = true;
try
{
- Class defaultClass = profiler.getClass().getClassLoader().loadClass("org.apache.jetspeed.profiler.rules.impl.RuleCriterionImpl");
- this.criterion = (RuleCriterion)defaultClass.newInstance();
+ // 103006 HJB, replace loadClass with bean factory
+ // method
+ // Class defaultClass =
+ // profiler.getClass().getClassLoader().loadClass("org.apache.jetspeed.profiler.rules.impl.RuleCriterionImpl");
+ // this.criterion =
+ // (RuleCriterion)defaultClass.newInstance();
+ this.criterion = profiler.createRuleCriterion();
}
catch (Exception e)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org