A script-enabled browser is required for this page to function properly.

Accessing JavaBean Methods

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.

Types of Invoke Methods for Executing JavaBean Methods

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.

Invoke Methods That do not Take Arguments

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.

Invoke methods That Take Arguments

If you want to work with a JavaBean method that takes arguments, there are versions of Invoke that let you pass arguments as either:

To pass arguments to the JavaBean as a comma delimited string:

  1. Define the comma-delimited string.
  2. Call the one of the versions of 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:

  1. Define the argument list.
  2. Call the one of the versions of 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

Invoking JavaBean Methods

Working with Overloaded Methods