A method, performed by a computer device, the method comprising:
- identifying, by the computer device, a first resource, wherein the first resource enables access to a first domain object handler that corresponds to a logical entity that controls a second resource;
- identifying, by the computer device, a first domain object for the first resource in a domain object database, wherein the first domain object maps the first resource to the first domain object handler for the computer device;
- identifying, by the computer device, a first interface for the first resource, wherein the first interface specifies one or more first commands associated with the first resource, wherein the first interface is configured to receive the one or more first commands from a client, wherein the first domain object handler provides a service including the first resource to the client and wherein the client controls the first resource;
- receiving, by the computer device, a first fallback command associated with the first interface for the first resource, wherein the first domain object handler is configured to execute the first fallback command when determined that the first domain object handler is no longer in communication with the client through the first interface;
- storing, by the computer device, the first fallback command in the first domain object for the first resource associated with the first interface;
- receiving, from the client through the first interface, the one or more first commands associated with the first resource;
- processing, by the first domain object handler of the computer device, the one or more first commands received through the first interface for the first resource, wherein the processing of the one or more first commands, while the first domain object handler is in communication with the client, causes the first domain object handler to send one or more second commands through a second interface associated with the second resource, wherein a second domain object handler provides a service including the second resource to the first domain object handler and the first domain object handler controls the second resource;
- executing, by the first domain object handler of the computer device, the first fallback command when determined that the first domain object handler is no longer in communication with the client through the first interface, wherein the first fallback command, when executed, causes the first domain object handler to send the one or more second commands to the second resource through the second interface while the first domain object handler is no longer in communication with the client through the first interface;
- and
- interpreting, by the first domain object handler, the first fallback command and generating a second fallback command that corresponds to carrying out a semantic interpretation of the first fallback command,
- wherein the second domain object handler is configured to execute the second fallback command when determined that the second domain object handler is no longer in communication with the first domain object handler through the second interface associated with the second resource.