JBoss.orgCommunity Documentation

Components

The service registration within the container is done with the <component> element.

For example, open the /webapps/exo-wcm-core/WEB-INF/conf/wcm-core/core-services-configuration.xml. You will see the following code:



    <component>
        <key>org.exoplatform.services.cms.CmsService</key>
        <type>org.exoplatform.services.cms.impl.CmsServiceImpl</type>
    </component>

Each component has a key which matches with the qualified Java interface name (org.exoplatform.services.cms.CmsService).

The specific implementation class of the component (CmsServiceImpl) is defined in the <type> tag.

If a service does not have a separate interface, the <type> will be used as the key in the container. This is the case of ContentInitializerService.