Download Interface OB

Transcript
Configuring the ORB and Object Adapter
OA Properties
Overview
Configuring an object adapter is achieved by setting properties on POA
Managers. These properties are grouped into two categories: global
properties, and properties specific to a particular POA Manager. Global
properties have the prefix ooc.orb.oa, while properties specific to a
particular POA Manager have the prefix ooc.orb.poamanager.name, where
name is the name of the POA Manager (see “Using POA Managers” on
page 71).
Unless otherwise noted, a POA Manager will search for configuration
properties using the following algorithm:
•
•
•
First, use properties defined specifically for that POA Manager
Next, use global properties
Finally, use default settings.
See “Using POA Managers” on page 71 for more information on POA
Managers.
ooc.orb.oa.conc_model
Value: reactive, threaded, thread_per_client, thread_per_request,
thread_pool, leader_follower
Selects the server-side concurrency model. The default value is
thread_per_client. The reactive and leader_follower concurrency
models are only available in Orbacus for C++. See Chapter 16 for more
information on concurrency models.
If this property is set to thread_pool, then the property
ooc.orb.oa.thread_pool determines how many threads are in the pool.
If this property is set to leader_follower, then the property
ooc.orb.oa.leader_follower_pool determines how many threads are to be
used.
59