From: <jt...@hy...> - 2007-07-02 21:30:40
|
Author: jtravis Date: 2007-07-02 14:30:38 -0700 (Mon, 02 Jul 2007) New Revision: 5042 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=5042 Modified: trunk/src/org/hyperic/hq/galerts/processor/MemGalertDef.java Log: Allow the partition to execute how it sees fit when the strategy runs Modified: trunk/src/org/hyperic/hq/galerts/processor/MemGalertDef.java =================================================================== --- trunk/src/org/hyperic/hq/galerts/processor/MemGalertDef.java 2007-07-02 21:30:07 UTC (rev 5041) +++ trunk/src/org/hyperic/hq/galerts/processor/MemGalertDef.java 2007-07-02 21:30:38 UTC (rev 5042) @@ -41,7 +41,6 @@ import org.hyperic.hq.galerts.server.session.ExecutionStrategy; import org.hyperic.hq.galerts.server.session.ExecutionStrategyInfo; import org.hyperic.hq.galerts.server.session.GalertDef; -import org.hyperic.hq.galerts.server.session.GalertManagerEJBImpl; import org.hyperic.hq.galerts.server.session.GtriggerInfo; @@ -150,8 +149,7 @@ _log.debug("Alert def [" + _name + " firing"); _log.debug(execReason); - // Dispatch to alert escalation - GalertManagerEJBImpl.getOne().startEscalation(_id, execReason); + strat.getPartition().execute(_id, execReason); strat.reset(); } } |