public interface Subscribable
Subscription-based object
.
Subscribable
is a base interface of several derived interfaces that can be used as a subscription target.
To set a Subscribable
object as the target of a subscription, use the SubscriptionTarget
property of the Subscription
-based object.
You can instantiate a Subscribable
object in the following ways:
get_SubscriptionTarget
method on a Subscription
-based object.Subscribable
object from a
SubscribableSet
collection.Modifier and Type | Method and Description |
---|---|
void |
raiseEvent(CustomEvent customEvent)
Raises a custom event for this
Subscribable object. |
void raiseEvent(CustomEvent customEvent)
Subscribable
object.
For example, you can define a custom event class in the Content Engine for an operation
such as publishing a document, then specify the custom event in a call to the raiseEvent
method on a Document
object after you call the publish
method on that document.
Before you can use this method, the following conditions must be met:
CustomEvent
object must exist.Subscribable
object; that is, the subscription's
SubscriptionTarget
property has been set to this Subscribable
object.SubscribedEvents
property has been set to a
SubscribedEventList
collection that includes the custom event.customEvent
- The CustomEvent
object to be raised.© Copyright IBM Corporation 2006, 2015. All rights reserved.