OSGI-INF.serviceComponents.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?><components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0"> <scr:component enabled="true" immediate="true" name="com.cognifide.slice.core.internal.filter.ContextRequstFilter"> <implementation class="com.cognifide.slice.core.internal.filter.ContextRequstFilter"/> <service servicefactory="false"> <provide interface="javax.servlet.Filter"/> <provide interface="com.cognifide.slice.api.context.ContextProvider"/> </service> <property name="service.description" type="String" value="Filter that is injected into request chain to provide access to request, resource and response."/> <property name="service.vendor" type="String" value="Cognifide"/> <property name="service.ranking" type="Integer" value="-650"/> <property name="filter.scope" type="String"> request forward </property> <property name="service.pid" value="com.cognifide.slice.core.internal.filter.ContextRequstFilter"/> </scr:component> <scr:component enabled="true" immediate="true" name="com.cognifide.slice.core.internal.injector.InjectorsRepositoryService"> <implementation class="com.cognifide.slice.core.internal.injector.InjectorsRepositoryService"/> <service servicefactory="false"> <provide interface="com.cognifide.slice.api.injector.InjectorsRepository"/> </service> <property name="service.description" type="String" value="Repository of all Slice injectors."/> <property name="service.vendor" type="String" value="Cognifide"/> <property name="service.pid" value="com.cognifide.slice.core.internal.injector.InjectorsRepositoryService"/> <reference name="injectors" interface="com.google.inject.Injector" cardinality="0..n" policy="dynamic" bind="bindInjectors" unbind="unbindInjectors"/> <reference name="resourceResolverFactory" interface="org.apache.sling.api.resource.ResourceResolverFactory" cardinality="1..1" policy="static" bind="bindResourceResolverFactory" unbind="unbindResourceResolverFactory"/> </scr:component> </components>