incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Sling Website > Managing events
Date Mon, 16 Aug 2010 09:52:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=SLINGxSITE&amp;forWysiwyg=true"
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="">Managing
    <h4>Page  <b>added</b> by             <a href="">Jean-Christophe
    <div class="notificationGreySide">
         <p>Apache Sling provides some mechanisms and support for managing events. This
page describes ...</p>

<p>Sling distinguishes between 2 types of events:</p>
<ul class="alternate" type="square">
	<li>standard events: no garantee of processing</li>
	<li>job events: garantee of processing. Someone has to do something with the event
(do the job).</li>

<p>The event mechanism is leveraging the OSGi Event Admin Specification (OSGi Compendium
The OSGi API is very simple and leightweight - sending an event is just generating the event
object and calling the event admin. Receiving the event is implementing a single interface
and declaring through properties which topics one is interested in. For more details please
refer to the following javadocs:</p>
<ul class="alternate" type="square">
	<li>package org.osgi.service.event of the OSGI API (<a href=""
class="external-link" rel="nofollow"></a>).</li>
	<li>package of the Sling API (<a href=""
class="external-link" rel="nofollow"></a>)</li>

<p>You can learn more in the "Eventing, Jobs and Scheduling" section (<a href=""
class="external-link" rel="nofollow"></a>).
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>
       <a href="">View
       <a href=";showCommentArea=true#addcomment">Add

View raw message