Class RepoInitHandler
java.lang.Object
org.apache.sling.feature.launcher.impl.extensions.handlers.RepoInitHandler
- All Implemented Interfaces:
ExtensionHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handle
(ExtensionContext context, org.apache.sling.feature.Extension extension) Try to handle the extension.
-
Constructor Details
-
RepoInitHandler
public RepoInitHandler()
-
-
Method Details
-
handle
public boolean handle(ExtensionContext context, org.apache.sling.feature.Extension extension) throws Exception Description copied from interface:ExtensionHandler
Try to handle the extension. As soon as a handler returnstrue
, no other handler is invoked for this extension.- Specified by:
handle
in interfaceExtensionHandler
- Parameters:
context
- Context for the handlerextension
- The feature model extension- Returns:
true
if the handler handled the extension.- Throws:
Exception
- If an error occurs during processing of the extension.
-