[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Challenge

Hi

I have a bunch of integration beans that communicate with backend systems. Because these backend systems might be unavailable I was thinking about doing something in the lines of the following in order to avoid crashes or hangs in the integration beans:

	use introduction to add som extra attributes to them.
	use constructor advice to set these attributes from a common system that is aware of the state of the backend systems and holds informations relevant for the communication
	use around advice for the backend calls checking the introduced attributes in order to see if the call should proceed.

My question then goes: Is this doable? 
How do I go about getting access to the introduced attribute from the around advice?

As an added flavour: I am contemplating using Glassbox, and then expose the intruduced attributes in the JMX beans so that I could use a JMX console to manage them. Doable?

Hermod



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *