public final class CallbackData
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private InvokeConfig |
callSite
The call-site associated with this callback.
|
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,
InvokeConfig callSite)
The constructor for this immutable object.
|
| Modifier and Type | Method and Description |
|---|---|
InvokeConfig |
getCallSite()
Get the
callSite. |
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
private InvokeConfig callSite
public CallbackData(java.lang.String procName,
handle procContext,
object<?> objContext,
InvokeConfig callSite)
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.callSite - The call-site instance.public java.lang.String getTarget()
public handle getProcedure()
null.public object<?> getObject()
null.public InvokeConfig getCallSite()
callSite.