From 4446515fea0255079b1256d8b3b232e88f75db74 Mon Sep 17 00:00:00 2001 From: Sebastien Bernard <sebastien.bernard@velir.com> Date: Wed, 7 May 2014 10:39:05 -0400 Subject: [PATCH] Reorganize annotation --- .../com/velir/aem/akamai/ccu/impl/AkamaiEventHandler.groovy | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/groovy/com/velir/aem/akamai/ccu/impl/AkamaiEventHandler.groovy b/src/main/groovy/com/velir/aem/akamai/ccu/impl/AkamaiEventHandler.groovy index 75574bd..e71ca88 100755 --- a/src/main/groovy/com/velir/aem/akamai/ccu/impl/AkamaiEventHandler.groovy +++ b/src/main/groovy/com/velir/aem/akamai/ccu/impl/AkamaiEventHandler.groovy @@ -1,5 +1,4 @@ package com.velir.aem.akamai.ccu.impl - import com.day.cq.replication.ReplicationAction import org.apache.felix.scr.annotations.Component import org.apache.felix.scr.annotations.Property @@ -13,14 +12,13 @@ import org.osgi.service.event.EventConstants import org.osgi.service.event.EventHandler import org.slf4j.Logger import org.slf4j.LoggerFactory - /** * AkamaiEventHandler - Listen to repository replication notification to invalidate Akamai cache when it is needed * * @author Sebastien Bernard */ -@Service(value = [AkamaiEventHandler.class, EventHandler.class]) @Component(label = "Akamai Event Handler", description = "Listen to repository replication notification to invalidate Akamai cache when it is needed", metatype = true, immediate = true) +@Service(value = [AkamaiEventHandler.class, EventHandler.class]) @org.apache.felix.scr.annotations.Properties(value = [ @Property(name = EventConstants.EVENT_TOPIC, value = ReplicationAction.EVENT_TOPIC, label = "Event topic"), @Property(name = "pathsHandled", value = ["/content/dam"], label = "Handled paths")