Please have a look at
http://doc.nuxeo.org/5.1/books/nuxeo-book/html/events-scheduling.html
You can name your event however you want as long as your listenener is  
configured to listen for it in its XML configuration.

Florent

On 30 Oct 2008, at 18:11, Xavier Spengler wrote:

> Hi,
>
> ok I have to write a new object like this:
> public class MyEventListener extends AbstractEventListener implements
>        AsynchronousEventListener ....
>
> but how can I named my event in the class definition ?
> with ?
> @Name("myEvent")
> @Scope(EVENT)
> Is it the solution ?
>
> thanks in advance,
> Regards,
>
> Xavier.
>
> On Wed, Oct 29, 2008 at 5:03 PM, Florent Guillaume <[EMAIL PROTECTED]>  
> wrote:
>> Hi,
>>
>> Nuxeo intergrates Quartz and exposes it through a configurable  
>> extension
>> point. The full doc isn't written in the book yet, but just have a  
>> look at
>> http://doc.nuxeo.org/5.1/components/org.nuxeo.ecm.platform.scheduler.core.service.SchedulerRegistryService.html
>> and write a Core listener to treat your event and do what you want.
>>
>> See http://quartz.sourceforge.net/javadoc/org/quartz/ 
>> CronTrigger.html for
>> the cronExpression syntax.
>> Florent
>>
>> On 29 Oct 2008, at 12:04, Xavier Spengler wrote:
>>
>>> Hi all,
>>>
>>> I would like to know If I can find somewhere an example of the use  
>>> of
>>> quartz with Nuxeo.
>>> For instance, is it possible to use the following .jar files to
>>> schedule some works on documents (removing, etc ...) :
>>> - quartz-all-1.5.2.jar
>>> - scheduler-plugin.jar
>>> - scheduler-plugin-example.jar
>>>
>>> What can we do with the 2 last .jar files ?
>>>
>>> thanks in advance,
>>> regards,
>>> Xavier.
>>> _______________________________________________
>>> ECM mailing list
>>> [email protected]
>>> http://lists.nuxeo.com/mailman/listinfo/ecm
>>
>> --
>> Florent Guillaume, Head of R&D, Nuxeo
>> Open Source, Java EE based, Enterprise Content Management (ECM)
>> http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87
>>
>>
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm

-- 
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to