You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by si...@apache.org on 2019/03/21 16:05:15 UTC

[sling-whiteboard] branch master updated: [cp2fm] added links for a better SPI explanation

This is an automated email from the ASF dual-hosted git repository.

simonetripodi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 8fa47ac  [cp2fm] added links for a better SPI explanation
8fa47ac is described below

commit 8fa47ac942ccf0182fa4b8fdc9f4687a33eff99a
Author: Simo Tripodi <st...@adobe.com>
AuthorDate: Thu Mar 21 17:05:05 2019 +0100

    [cp2fm] added links for a better SPI explanation
---
 content-package-2-feature-model/README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content-package-2-feature-model/README.md b/content-package-2-feature-model/README.md
index 7b7419e..b5df6a9 100644
--- a/content-package-2-feature-model/README.md
+++ b/content-package-2-feature-model/README.md
@@ -271,9 +271,9 @@ new ContentPackage2FeatureModelConverter()
 
 ### Handler Services
 
-In order to make the tool extensible, the `org.apache.sling.cp2fm.spi.EntryHandler` interface is declared to handle different kind of resources, have a look at the `org.apache.sling.cp2fm.handlers` package to see the default ones.
+In order to make the tool extensible, the [org.apache.sling.cp2fm.spi.EntryHandler](./src/main/java/org/apache/sling/cp2fm/spi/EntryHandler.java) interface is declared to handle different kind of resources, have a look at the [org.apache.sling.cp2fm.handlers](src/main/java/org/apache/sling/cp2fm/handlers) package to see the default implementations.
 
-If users want to handle special resource type, all they have to do is providing their implementation and declaring it under the `META-INF/services/org.apache.sling.cp2fm.spi.EntryHandler` classpath resource file, on order to let the `ServiceLoader` including it in the `content-package` scan.
+If users want to handle special resource type, all they have to do is providing their `org.apache.sling.cp2fm.spi.EntryHandler` service implementation and declaring them in the `META-INF/services/org.apache.sling.cp2fm.spi.EntryHandler` classpath resource file, on order to let the `ServiceLoader` including it in the `content-package` scan.
 
 ## The CLI Tool