Python APIs for RAD

This section describes the APIs that are available for the Python language.

rad.server

RAD Server module.

RADContainer

RADContainer Container base class. Represents a container into which instances are inserted.

RADInstance

Instance base class. All the generated interfaces inherit from the RADInstance class. Thus, the interfaces inherit a set of useful behaviours. All the inherited attributes are prepended with _rad to both prevent name collisions and clearly indicate that these attributes are protected.

RADException

RAD exception base class. Represents an exception, which will be propagated back to the client as a CE_OBJECT exception. If an invocation fails, the error is declared in the ADR. See Using the RADException Python Class.

RADExistsException

Exception when an object already exists.

RADIllegalException

Exception when an illegal object is provided to the client.

RADNotFoundException

Exception when an object is not found.

The following functions must be provided by an implementation module:

  • rad_reg

  • rad_init

  • rad_fini