org.rhq.enterprise.server.alert
Class CachedConditionManagerBean

java.lang.Object
  extended by org.rhq.enterprise.server.alert.CachedConditionManagerBean
All Implemented Interfaces:
CachedConditionManagerLocal

public class CachedConditionManagerBean
extends Object
implements CachedConditionManagerLocal

see CachedConditionManagerLocal.processCachedConditionMessage( org.rhq.enterprise.server.alert.engine.jms.model.AbstractAlertConditionMessage, Integer) for more information.

Author:
Joseph Marques

Constructor Summary
CachedConditionManagerBean()
           
 
Method Summary
 void processCachedConditionMessage(AbstractAlertConditionMessage conditionMessage, Integer definitionId)
          The entry point to all out-of-band alert condition processing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedConditionManagerBean

public CachedConditionManagerBean()
Method Detail

processCachedConditionMessage

public void processCachedConditionMessage(AbstractAlertConditionMessage conditionMessage,
                                          Integer definitionId)
Description copied from interface: CachedConditionManagerLocal
The entry point to all out-of-band alert condition processing. By extracting this into it's own interface, it can very easily be run in a new transaction using the TransactionAttributeType.REQUIRES_NEW annotation. Thus, when this method completes, the caller knows that any information it has committed to the database will be visible to it as well as any other thread that is blocked, waiting for it to complete.

Specified by:
processCachedConditionMessage in interface CachedConditionManagerLocal


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.