BBjServletData::setCallback (Deprecated)
BBjServlets are deprecated for BBj 21.00 and higher, and have been replaced by BBxServlets.
Description
In BBj 12.00 and higher, this method registers a custom object as a callback handler.
Syntax
| Return Value | Method |
|---|---|
|
void |
setCallback(int eventType, CustomObject customObj, String methodName) setCallback(int eventType, Object object, String methodName) setCallback(int eventType, String subroutineName) |
Parameters
|
Variable |
Description |
|---|---|
|
eventType |
Event type
to clear ( |
|
customObj |
A custom object
containing the method to be called when the event is processed
by |
|
methodName |
The name of the method that is to be
called when the event is processed by |
|
object |
A Java object
containing the method to be called when the event is processed
by |
|
SubroutineName |
Subroutine name to be executed in |
Return Value
None.
Example
|