org.objectweb.jac.aspects.queue
Class MessageQueueAC

java.lang.Object
  extended byorg.objectweb.jac.core.AspectComponent
      extended byorg.objectweb.jac.aspects.queue.MessageQueueAC
All Implemented Interfaces:
BaseProgramListener, MessageQueueConf, Serializable

public class MessageQueueAC
extends AspectComponent
implements MessageQueueConf

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jac.core.AspectComponent
application, blockKeywords, cr, currentConfigMethod, currentImports, firstCall, NOT_SHARED, SHARED, startWeavingCCount, startWeavingCount, startWeavingMethod, startWeavingType, systemListener, wrappers
 
Fields inherited from interface org.objectweb.jac.core.BaseProgramListener
FOUND_OBJECT
 
Constructor Summary
MessageQueueAC()
           
 
Method Summary
 MessageQueue getMessageQueue()
           
 void registerField(ClassItem cli, String fieldName, MethodItem callback)
          Register a call to be called when a field is changed.
 void whenConfigured()
          This method should be defined by the programmer when specific actions are needed once the aspect component has be configured.
 
Methods inherited from class org.objectweb.jac.core.AspectComponent
addWrapper, afterApplicationStarted, afterRunningWrapper, afterWrap, afterWrappeeInit, attr, attrdef, beforeConfiguration, beforeReload, beforeRunningWrapper, beforeWrappeeInit, configure, defines, defineTimer, doRegister, doUnregister, error, getAC, getApplication, getBlockKeywords, getConfigurationMethods, getConfigurationMethodsName, getConfigurationMethodsName, getDefaultConfigs, getName, getNameCounters, getWrappers, init, isConfigurationMethod, isSystemListener, onExit, pointcut, pointcut, pointcut, pointcut, pointcut, pointcut, pointcut, pointcut, setApplication, setAttribute, setAttribute, setAttribute, setSystemListener, simulateUsingNewInstance, unweave, unwrapAll, updateNameCounters, warning, weave, whenClone, whenCloseDisplay, whenDeleted, whenDeserialized, whenFree, whenGetObjects, whenNameObject, whenObjectMiss, whenReload, whenRemoteInstantiation, whenSerialized, whenTopologyChanged, whenUsingNewClass, whenUsingNewInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageQueueAC

public MessageQueueAC()
Method Detail

registerField

public void registerField(ClassItem cli,
                          String fieldName,
                          MethodItem callback)
Description copied from interface: MessageQueueConf
Register a call to be called when a field is changed.

Specified by:
registerField in interface MessageQueueConf
Parameters:
cli - the class of the field
fieldName - the name of the field
callback - the static method to call when the field is changed

whenConfigured

public void whenConfigured()
Description copied from class: AspectComponent
This method should be defined by the programmer when specific actions are needed once the aspect component has be configured.

Overrides:
whenConfigured in class AspectComponent

getMessageQueue

public MessageQueue getMessageQueue()