public final class CallbackData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private object<?> |
objContext
The object context for the method call, when the callback is set to an OO instance.
|
private handle |
procContext
The handle to the persistent procedure that will be the context for the method call.
|
private java.lang.String |
procName
The procedure/method to be called.
|
Constructor and Description |
---|
CallbackData(java.lang.String procName,
handle procContext,
object<?> objContext)
The constructor for this immutable object.
|
Modifier and Type | Method and Description |
---|---|
object<?> |
getObject()
Get the object context (if OO method was configured, this is the object instance of the
class the method belongs to).
|
handle |
getProcedure()
Get the procedure context (if an internal procedure was configured, this is the handle to
its parent external procedure).
|
java.lang.String |
getTarget()
Get the procedure name (the name of the procedure or method name to be invoked).
|
private final java.lang.String procName
private final handle procContext
private final object<?> objContext
public CallbackData(java.lang.String procName, handle procContext, object<?> objContext)
Note: procContext
and objContext
cannot be simultaneously be null
or not null
.
procName
- The procedure/method to be called.procContext
- The handle to the persistent procedure that will be the context for the method
call.objContext
- The object context for the method call, when the callback is set to an OO
instance.public java.lang.String getTarget()
public handle getProcedure()
null
.public object<?> getObject()
null
.