Hmmm, I guess you are refering to the java standard observer/observable pair. Adding such a feature is definitely desirable but I am not sure whether extending java.util.Observable will be a very efficient solution. We can actually write a simple listener and introduce one of our own interfaces for anyone who needs such a thing.
Anyway step 2 is needed. No questions about it

On 7/18/05, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:

Hi all;

 

To support some new features with Axis2 without changing the core architecture I am thinking of making AxisConfiguration Observable. Then if some one wants to provide nice feature with he can go ahead and do that good use case is providing RSS feeders.

 

In order to do this I have to do following

1.      Introduce event called AxisEvent which take AxisConfiguration as constructor argument. And the event can be used to notify to all the observers.

2.      provide a way to add and register Listeners (Observer) to Axis2 by adding following element to axis2.xml

 

<listener name="RSS" class = "org.apche.axis2.rss.RssObserver">

 

At the deployment time those observers will be loaded and initiate.

 

Comments ….

 
Thanks,
 Deepal
................................................................
~Future is Open~
 

 



--
Ajith Ranabahu

Reply via email to