Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?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="org.apache.sling.samples.pathbasedrtp.DefaultResourceTypeProvider">
        <implementation class="org.apache.sling.samples.pathbasedrtp.DefaultResourceTypeProvider"/>
        <service servicefactory="false">
            <provide interface="org.apache.sling.jcr.resource.JcrResourceTypeProvider"/>
        </service>
        <property name="service.vendor" value="The Apache Software Foundation" private="false"/>
        <property name="service.description" value="Sling Default Resource Type Provider" private="false"/>
        <property name="path.mapping" private="false">
            /content:2
            /sling-test-pbrt:2
        </property>
        <property name="service.pid" value="org.apache.sling.samples.pathbasedrtp.DefaultResourceTypeProvider" private="false"/>
    </scr:component>
</components>
New to GrepCode? Check out our FAQ X