SAP Commerce的extensioninfo.xml
文檔地址:
https://help.sap.com/viewer/b490bb4e85bc42a7aa09d513d0bcb18e/1905/en-US/8bbf6b5e86691014ad49fd1bc0172e5c.html
extension的元數據文件,定義當前extension的依賴。
例子:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!--[y] hybris PlatformCopyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.This software is the confidential and proprietary information of SAP("Confidential Information"). You shall not disclose such ConfidentialInformation and shall use it only in accordance with the terms of thelicense agreement you entered into with SAP. --><extensioninfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="extensioninfo.xsd"><extension abstractclassprefix="Generated" classprefix="ChinaacceleratorServices" managername="ChinaacceleratorServicesManager" managersuperclass="de.hybris.platform.jalo.extension.Extension" name="chinaacceleratorservices"><requires-extension name="acceleratorservices"/><requires-extension name="acceleratorcms"/> <coremodule generated="true" manager="de.hybris.platform.chinaaccelerator.services.jalo.ChinaacceleratorServicesManager" packageroot="de.hybris.platform.chinaaccelerator.services"/><meta key="deprecated" value="true"/></extension></extensioninfo>packageroot
Sample: de.hybris.platform.chinaaccelerator.services
Package root where extension and item classes will be generated to.
manager
de.hybris.platform.chinaaccelerator.services.jalo.ChinaacceleratorServicesManager
Fully qualified Java class name of the extension’s manager.
generated = true
If “true”, item and extension classes will be generated. Only needed in case of “sourceavailable=true”. Default is “false”.
extension節(jié)點的屬性里,version是optional:
If “true”, item and extension classes will be generated. Only needed in case of “sourceavailable=true”. Default is “false”.
Core module:A core module consists of an items.xml file (and therefore allows to add new types to the system), a manager class, classes for the JaLo Layer and the ServiceLayer and JUnit test classes. The following directories are required: /src, /resources, /testsrc. See information about coremoduleType below.
要獲取更多Jerry的原創(chuàng)文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的SAP Commerce的extensioninfo.xml的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 烟雨江湖七星剑法怎么获得 七星剑法获取途
- 下一篇: 树的重心及其性质