In the same way as for properties, methods exposed by the JavaBean are made available by the enhanced JavaBean support.
FBean provides a series of Invoke methods to execute methods on the JavaBean.
There are versions of FBean.Invoke
which are defined as procedures
for calling JavaBean methods that return void, and versions defined as PL/SQL
functions which return a specific data type for JavaBean method calls that have
return values.
The versions of the Invoke methods that are provided can be divided into two groups: those that take arguments that can be passed through to the JavaBean method and those that do not.
The group that takes arguments can be further divided into methods that use an argument list to pass arguments to the JavaBean and those that use a comma-delimited string.
If you want to work with a JavaBean method that does not take arguments, then
use one of the Invoke
methods that does not take arguments. For these versions, you can simply
call the appropriate Invoke
method based on its return type or
whether it returns void.
If you want to work with a JavaBean method that takes arguments, there are versions of Invoke that let you pass arguments as either:
OR
FBean.ArgList
which has to be pre-populated
with the arguments which need to be passed to the methodTo pass arguments to the JavaBean as a comma delimited string:
Invoke
that uses a comma delimited-string, based on its return type or whether
it returns void.To pass arguments to the JavaBean as an argument list:
Invoke
that uses an argument list, based on its return type or whether it returns
void.Defining Method Arguments as a Delimited String
Defining Method Arguments as a List
Working with Overloaded Methods