Liberty 和 WebSphere Application Server Traditional V9 或更高版本上未提供服务组件体系结构 (SCA)。 以下三项规则有助于检测应用程序中是否使用了 SCA。
此 SCA Java 规则会标记对以下包中的 API 的引用:
com.ibm.websphere.sca.contextcom.ibm.websphere.soa.scacom.ibm.wsspi.containercom.ibm.wsspi.monitoring.soa.scaorg.apache.tuscany.scaorg.oasisopen.scaorg.osoa.sca
如果应用程序将其自己的库(包括 org.apache.tuscany.sca、org.oasisopen.sca 或 org.osoa.sca APIs)打包,那么此规则将不会标记对这些包的任何引用。在此情况下,SCA 实现和支持由应用程序提供。将继续标记所有 com.ibm 包。