Search in sources :

Example 1 with Modified

use of org.apache.felix.scr.annotations.Modified in project sling by apache.

the class DefaultHandlerService method activate.

@Activate
@Modified
@SuppressWarnings("unused")
private void activate(final Map<String, Object> properties) {
    final String collectionType = OsgiUtil.toString(properties.get(SlingWebDavServlet.TYPE_COLLECTIONS), SlingWebDavServlet.TYPE_COLLECTIONS_DEFAULT);
    final String nonCollectionType = OsgiUtil.toString(properties.get(SlingWebDavServlet.TYPE_NONCOLLECTIONS), SlingWebDavServlet.TYPE_NONCOLLECTIONS_DEFAULT);
    final String contentType = OsgiUtil.toString(properties.get(SlingWebDavServlet.TYPE_CONTENT), SlingWebDavServlet.TYPE_CONTENT_DEFAULT);
    this.delegatee = new DefaultHandler(null, collectionType, nonCollectionType, contentType);
}
Also used : DefaultHandler(org.apache.jackrabbit.server.io.DefaultHandler) Modified(org.apache.felix.scr.annotations.Modified) Activate(org.apache.felix.scr.annotations.Activate)

Aggregations

Activate (org.apache.felix.scr.annotations.Activate)1 Modified (org.apache.felix.scr.annotations.Modified)1 DefaultHandler (org.apache.jackrabbit.server.io.DefaultHandler)1