Class ExampleOsgiHook
java.lang.Object
org.apache.jackrabbit.vault.packaging.hooks.ExampleOsgiHook
- All Implemented Interfaces:
InstallHook
Example hook that uses a class provided by the webapp (org.apache.sling.api.resource.ResourceUtil)
and/or osgi and is not explicitly imported by the vault bundle
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExampleOsgiHook
public ExampleOsgiHook()
-
-
Method Details
-
execute
Description copied from interface:InstallHookExecutes hook specific code. This is called for each installation phase.- Specified by:
executein interfaceInstallHook- Parameters:
ctx- the installation context- Throws:
PackageException- if the hook desires to abort the current phase.
-