Interface ResourceService

All Known Implementing Classes:
TransactionalResourceService

public interface ResourceService
This is the service responsible for maintaining a set of Resource instances. This contains code to handle a the path hierarchy for the resources housed in the service. Resources can be added, moved, or deleted as needed by external services. Note that implementations of this interface should be considered thread safe. Each call must return or throw exceptions leaving the object in a consistent state. This may be accomplished using locking. All operations are to be considered atomic unless otherwise specified. Keep in mind that that while this instance may provided thread safety, the specification for Resource is not. Therefore, locking is necessary when performing operations on individual Resource instances themselves. This means that the internals of this service may lock the individual Resource instances to perform work as well. Created by patricktwohig on 7/24/15.