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);
}
Aggregations