public class DistributionEventDistributeDistributionTrigger extends Object implements DistributionTrigger
DistributionTrigger for chain distribution upon a certain DistributionEventTopics| Constructor and Description |
|---|
DistributionEventDistributeDistributionTrigger(String pathPrefix,
org.osgi.framework.BundleContext bundleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
disable() |
void |
register(@NotNull DistributionRequestHandler requestHandler)
register a request handler to be triggered and returns a corresponding registration id
|
void |
unregister(@NotNull DistributionRequestHandler requestHandler)
unregister the given handler, if existing
|
public DistributionEventDistributeDistributionTrigger(String pathPrefix, org.osgi.framework.BundleContext bundleContext)
public void register(@NotNull
@NotNull DistributionRequestHandler requestHandler)
throws DistributionException
DistributionTriggerregister in interface DistributionTriggerrequestHandler - handlerDistributionException - if registration failspublic void unregister(@NotNull
@NotNull DistributionRequestHandler requestHandler)
throws DistributionException
DistributionTriggerunregister in interface DistributionTriggerrequestHandler - handler to unregisterDistributionException - if any error happenpublic void disable()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.