Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
What are default components, and how are they used?
At deployment time, a component instance can be marked in the CDB as the default component of its type.
For example, the standard CDB entry for the identifier archive, which ships with ACS in $ACSDATA/config/defaultCDB/CDB/MACI/Components/Components.xml
, is
<_ Name="IDENTIFIER_ARCHIVE" Code="alma.archive.helpers.IdentifierHelper" Type="IDL:alma/xmlstore/Identifier:1.0" Container="frodoContainer" Default="true" />
In the running system, a client can obtain this instance of the identifier archive, without having to know the instance name IDENTIFIER_ARCHIVE
. It only has to provide the type code (IDL:alma/xmlstore/Identifier:1.0
) that is independent of any particular deployment configuration.
Advantages:
Use the method getDefaultComponent(String componentIDLType)
from the ZLegacy/ACS.ContainerServices
interface to take advantage of this feature.
-- HeikoSommer - 17 Feb 2004