Previous | Table of Contents | Next |
The salient characteristics of a home declaration are as follows:
• A home declaration must specify exactly one component type that it manages. Multiple homes may manage the same component type.
• A home declaration may specify a primary key type. Primary keys are values assigned by the application environment that uniquely identify component instances managed by a particular home. Primary key types must be value types derived from Components::PrimaryKeyBase. There are more specific constraints placed on primary key types, which are specified in the CORBA Components specification, Component Model chapter, “Primary key type constraints? section.
• Home declarations may include any declarations that are legal in normal interface declarations.
• Home declarations support single inheritance from other home definitions, subject to a number of constraints that are described in the CORBA Components specification, Component Model chapter, “Home inheritance? section.
• Home declarations may specify a list of interfaces that the home supports.
3.18.1.1 Syntax
The syntax for a home definition is as follows:
(126) <home_dcl> ::= <home_header> <home_body>
<home_header>
is described in Section 3.18.2, “Home Header.
<home_body>
is described in Section 3.18.3, “Home Body.