Adapter Object - Fujitsu J Adapter Class Generator User Manual

Fujitsu user's guide j adapter class generator
Table of Contents

Advertisement

Adapter Object

At execution time, an adapter class generates the adapter object corresponding to a
Java instance object. The adapter object:
Holds the pointer to the corresponding Java instance object.
Calls the corresponding Java method of the corresponding Java instance object
Only the adapter object can be seen from the COBOL program. Every operation on
the adapter object is transmitted to the corresponding Java object. To the COBOL
program, , the adapter object seems as if it were a Java object. The adapter object,
since it works for the Java object, is also called a proxy object. The relationship
between the Java object and adapter object is shown below:
Figure 2.2. Java object and adapter object
Chapter 2. Adapter Class Generator Framework
15

Advertisement

Table of Contents
loading

Table of Contents