copyright The Portico Project 2008.

org.portico.lrc.handlers
Class REQ_RequestClassUpdateHandler

java.lang.Object
  extended by com.lbf.commons.messaging.AbstractMessageHandler
      extended by org.portico.lrc.handlers.LRCMessageHandler
          extended by org.portico.lrc.handlers.REQ_RequestClassUpdateHandler
All Implemented Interfaces:
com.lbf.commons.messaging.IMessageHandler

public class REQ_RequestClassUpdateHandler
extends LRCMessageHandler

This class handles requests to update attributes for *all* instances of a given class (and all its subclasses)


Field Summary
 
Fields inherited from class org.portico.lrc.handlers.LRCMessageHandler
interests, logger, lrc, regions, repository, state
 
Fields inherited from class com.lbf.commons.messaging.AbstractMessageHandler
augmentable, name
 
Constructor Summary
REQ_RequestClassUpdateHandler()
           
 
Method Summary
 void processMessage(com.lbf.commons.messaging.MessageContext context)
          This method will first check that we are in a valid state to process this request (we're joined and not in the middle of a save/restore).
 
Methods inherited from class org.portico.lrc.handlers.LRCMessageHandler
error, error, getConnection, getFOM, initialize, sendMessage, success, success, success
 
Methods inherited from class com.lbf.commons.messaging.AbstractMessageHandler
getName, isAugmentable, setAugmentable, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

REQ_RequestClassUpdateHandler

public REQ_RequestClassUpdateHandler()
Method Detail

processMessage

public void processMessage(com.lbf.commons.messaging.MessageContext context)
                    throws Exception
This method will first check that we are in a valid state to process this request (we're joined and not in the middle of a save/restore). After that, it will ensure that the class exists in the FOM and that each of the attributes that an update is requested for also is in the FOM. Following this, the request is handed off to the RTI.

Specified by:
processMessage in interface com.lbf.commons.messaging.IMessageHandler
Specified by:
processMessage in class LRCMessageHandler
Throws:
Exception

copyright The Portico Project 2008.