cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Eichenhofer <>
Subject events in the portal engine
Date Wed, 17 Dec 2003 10:20:09 GMT
Hi all, 

one more portal-question: How does a coplet subsribe itself to events? 
I've created a simple "Hello World" coplet class (implementing 
CopletAdapter) and successfully registered it into the portal. This is 
working so far, but now i want the coplet to be informed if another coplet 
creates an event. 
What i can see from the URICopletAdapter is that the coplet has to 
implement the Interface Subscriber.
But how is the connection to DefaultEventManager established? The 
DefaultEventManager calls the getEventType() and inform() methods of the 
URICopletAdapter class, but where does it get the information to do so?

thnx for help!


View raw message