1-
<service-point id="InfrastructureObjectProvider" interface="org.apache.hivemind.service. ObjectProvider">
ObjectProvider 映射到 "infrastructure:",
定位者是Infratructure 服务的一个属性名.
<invoke-factory>
// 该类里面有一个成员变量叫infrastructure
<construct class="impl. InfrastructureObjectProvider">
<set-service property="infrastructure" service-id="Infrastructure"/>
</construct>
</invoke-factory>
</service-point>
<contribution configuration-id="hivemind. ObjectProviders">
<!-- 将自定义的对infrastructure:前缀的对象提供者,贡献到hivemind.ObjectProviders配置点-->
<provider prefix="infrastructure" service-id="InfrastructureObjectProvider"/>
</contribution>
<service-point id="InfrastructureObjectProvider" interface="org.apache.hivemind.service. ObjectProvider">
ObjectProvider 映射到 "infrastructure:",
定位者是Infratructure 服务的一个属性名.
<invoke-factory>
// 该类里面有一个成员变量叫infrastructure
<construct class="impl. InfrastructureObjectProvider">
<set-service property="infrastructure" service-id="Infrastructure"/>
</construct>
</invoke-factory>
</service-point>
<contribution configuration-id="hivemind. ObjectProviders">
<!-- 将自定义的对infrastructure:前缀的对象提供者,贡献到hivemind.ObjectProviders配置点-->
<provider prefix="infrastructure" service-id="InfrastructureObjectProvider"/>
</contribution>
Contribution from module hivemind | ||
---|---|---|
<provider
prefix="
service"
service-id="
ServiceObjectProvider" />
<provider prefix=" configuration" service-id=" ConfigurationObjectProvider" /> <provider prefix=" instance" service-id=" ObjectInstanceObjectProvider" /> <provider prefix=" service-property" service-id=" ServicePropertyObjectProvider" /> <provider prefix=" class" service-id=" ClassObjectProvider" /> | ||
Contribution from module hivemind.lib | ||
<provider
prefix="
spring"
service-id="
SpringObjectProvider" />
| ||
Contribution from module hivemind.lib | ||
<provider
prefix="
bean"
service-id="
BeanFactoryObjectProvider" />
| ||
Contribution from module tapestry | ||
<provider
prefix="
infrastructure"
service-id="
InfrastructureObjectProvider" />
| ||
Contribution from module tapestry.props | ||
<provider
prefix="
global-property"
service-id="
GlobalPropertyObjectProvider" />
<provider prefix=" app-property " service-id=" ApplicationPropertyObjectProvider" /> | ||
Contribution from module tapestry.services | ||
<provider
prefix="
engine-service"
service-id="
EngineServiceObjectProvider" />
|