Skip to content

Commit

Permalink
Reorganize annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bernard committed May 7, 2014
1 parent c4f2d86 commit 4446515
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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")
Expand Down

0 comments on commit 4446515

Please sign in to comment.