@Services(value={@Service(value=java.lang.Object.class),@Service(value=CollectionTypeHandler.class)}) @Property(name="org.apache.clerezza.platform.typehandler", boolValue=true) public class CollectionTypeHandler extends DiscobitsTypeHandler
cgProvider, MAX_AGE
Constructor and Description |
---|
CollectionTypeHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext)
The activate method is called when SCR activates the component configuration.
|
Object |
copy()
Copies a resource
|
GraphNode |
getResource(javax.ws.rs.core.UriInfo uriInfo)
Returns a GraphNode of the requested collection
|
Object |
lock()
Locks a resource
|
Object |
unlock()
Unlocks a resource
|
bindMetaDataGenerator, delete, getMetaDataGenerators, getMGraph, mkcol, move, options, propfind, proppatch, putInfoDiscobit, unbindMetaDataGenerator
getData, getMediaType, put, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData, getMediaType, put, remove
protected void activate(org.osgi.service.component.ComponentContext componentContext)
activate
in class DiscobitsTypeHandler
componentContext
- public GraphNode getResource(@Context javax.ws.rs.core.UriInfo uriInfo)
getResource
in class DiscobitsTypeHandler
public Object lock()
public Object unlock()
public Object copy()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.