com.tibco.bpm.web.client.model.pagebus
Class SubscriberData
java.lang.Object
com.tibco.bpm.web.client.model.pagebus.SubscriberData
public class SubscriberData
- extends java.lang.Object
SubscriberData can be passed to one of the PageBus subscribe calls and is
returned on the callback when a message is published matching the subscription.
The subscriberData is user-defined and null values are permitted. This is
useful when the subscriber needs to access or update any data members when
the callback function is invoked.
The isCacheEnabled property is used to cache-enable a subscription.
©2011 Cloud Software Group, Inc.
- Since:
- 1.2.0
Constructor Summary |
SubscriberData(com.google.gwt.core.client.JavaScriptObject nativeSubscriberData)
Reconstructs new Java instance from the native JavaScriptObject returned
from the OnDataCallback. |
SubscriberData(java.lang.Object subscriberData,
boolean isCacheEnabled)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscriberData
public SubscriberData(java.lang.Object subscriberData,
boolean isCacheEnabled)
- Parameters:
subscriberData
- Any Object, null values are permitted.isCacheEnabled
- Set true to cache-enable this subscription.
SubscriberData
public SubscriberData(com.google.gwt.core.client.JavaScriptObject nativeSubscriberData)
- Reconstructs new Java instance from the native JavaScriptObject returned
from the OnDataCallback.
- Parameters:
JavaScriptObject
- Native instance which wraps the Java instance.
getSubscriberData
public java.lang.Object getSubscriberData()
isCacheEnabled
public boolean isCacheEnabled()
getNativeSubscriberData
public com.google.gwt.core.client.JavaScriptObject getNativeSubscriberData()
Copyright © 2015 Cloud Software Group, Inc. All Rights Reserved.