Observer interface for receiving notifications about access mode changes.
Compound event that includes all types of resource events.
ResourceManager API for Apps
|ResourceDemandListener<T extends Resource>||
Listener for standard resource demands.
recursive change listeners considered harmful, use
Interface of the resource manager, which allows fundamental resource manipulations like adding resource types and creating and deleting resources.
Describes an event associated to the change of a resource's structure.
Observer interface for receiving notifications about resource structure changes.
|ResourceValueListener<T extends Resource>||
Observer interface for receiving resource change notifications.
Priority of write access
Indicates the reason why access to a resource has been lost.
This Exception is thrown if a resource access is requested but the specified resource type doesn't match the type of the accessed resource.
Exception indicating that an optional element referenced to in an addOptionalElement or setOptionalElement call does not exist.
Exception thrown when an application tries to write a resource for which it does not have the correct
thrown if a ressource or another configured element shall be created, but exists already
Basic class for all exceptions related to resources.
A ResourceGraphException is thrown as a result of an operation that by itself is legal (i.e. can be performed) but would result in an illegal state of the resources in the OGEMA system.
Thrown if a resource in the system such as a time series set is already in use and thus cannot be accessed in the way requested
This exception is thrown if no resource can be found with the given id or name.
Wraps an exception that is thrown during the execution of a
Exception thrown when a resource action involving a virtual resource is performed that may not be performed with virtual resources.
ResourceAccess, defining the access methods and the
ResourceManagementproviding methods for creation of top-level resources and deletion of resources by-name. Note that a lot of resource-manipulation methods are defined on the
Resourceitself, so the ResourceManagement is usually only required to create a top-level resource.
ResourceDemandListener, which is as long as it is registered to the framework will be informed about all existing and newly-available suitable resources, as well as in the case that such a resource becomes unavailable for some reasons.
ResourceListenerlistens to changes in the entries of
ResourceStructureListenerlistens to changes of the resource state except the value contained. The possible events are defined in
AccessModeListenerlistens to changes in the application-specific
AccessMode(events reported to the ResourceStructureListener are the same for all applications).
Transaction. Applications can get a transaction object an fill it with commands to the resource graph that are then performed in an "atomic" transaction, meaning that no other applications see an intermediate state between the individual commands. This can be done to avoid "illegal" intermediate states, e.g. if a set of individual values only make sense combined.