public interface InstallHookProcessor
Modifier and Type | Method and Description |
---|---|
boolean |
execute(InstallContext context)
Executes the registered hooks with the current
InstallContext.Phase . |
boolean |
hasHooks()
Checks if this process has any hooks registered.
|
void |
registerHook(VaultInputSource input,
java.lang.ClassLoader classLoader)
Register the hook provided by the given input source.
|
void |
registerHooks(Archive archive,
java.lang.ClassLoader classLoader)
Register all hooks found in the given archive.
|
void registerHooks(Archive archive, java.lang.ClassLoader classLoader) throws PackageException
archive
- the archive.classLoader
- the class loaderPackageException
- if an error occurs.void registerHook(VaultInputSource input, java.lang.ClassLoader classLoader) throws java.io.IOException, PackageException
input
- a vault input source containing the jar file of the install hookclassLoader
- the class loaderjava.io.IOException
- if an I/O error occursPackageException
- if an error occurs.boolean hasHooks()
true
if there are hooks registered.boolean execute(InstallContext context)
InstallContext.Phase
.context
- the contexttrue
if successful."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"