All IDL-mapped Java types have an accompanying holder class that is used for passing parameters by reference. Each holder class has the following structure:
public class <Type>Holder { // Current value public <type> value; // Default constructor public <Type>Holder() {} // Constructor that sets initial value public <Type>Holder(<type> v) { this.value = v; } }
This structure is defined by the CORBA Java-language bindings specification.