You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2016/12/14 09:12:58 UTC
[jira] [Commented] (JCRVLT-139) Add support for package
installation listeners
[ https://issues.apache.org/jira/browse/JCRVLT-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15747762#comment-15747762 ]
Tobias Bocanegra commented on JCRVLT-139:
-----------------------------------------
Added event dispatching for the following events:
{code}
enum Type {
UPLOAD,
INSTALL,
EXTRACT,
UNINSTALL,
CREATE,
REMOVE,
ASSEMBLE,
REWRAPP,
RENAME,
EXTRACT_SUB_PACKAGES,
SNAPSHOT
}
{code}
in order to receive the events, one can register a OSGi component that implements the {{PackageEventListener}} interface. for example:
{code}
@Component(immediate = true)
@Service(value = PackageEventListener.class)
public class ActivityLog implements PackageEventListener {
...
}
{code}
> Add support for package installation listeners
> ----------------------------------------------
>
> Key: JCRVLT-139
> URL: https://issues.apache.org/jira/browse/JCRVLT-139
> Project: Jackrabbit FileVault
> Issue Type: Improvement
> Components: Packaging
> Reporter: Tobias Bocanegra
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)