BBjEnterpriseNamespace::setCallbackForNamespaceChange
Description
In BBj 13.00 and higher, this method sets a callback that will be called if any Named Object within this BBjEnterpriseNamespace is changed.
Syntax
|
Return Value |
Method |
|---|---|
|
void |
setCallbackForNamespaceChange(String callbackName) |
|
void |
setCallbackForNamespaceChange(CustomObject customObj, String methodName) |
|
void |
setCallbackForNamespaceChange(Object Object, String methodName) |
Parameters
|
Parameter |
Description |
|---|---|
|
callbackName |
Specifies the name of the callback. |
|
customObj |
Specifies a CustomObject that has a method which is to be called when value changes. |
|
methodName |
Specifies the method of userObj which is to be called. |
| Object |
Specifies a Java Object that has a method which is to be called when value changes. |
Return Value
None.
Remarks
All callbacks that a program registered on a BBjEnterpriseNamespace are removed when that program executes START, STOP, END, or BEGIN. All callbacks registered by a BBj process are removed when the BBj process terminates.
|
Version History
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.