diff options
author | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2012-01-09 13:13:08 -0600 |
---|---|---|
committer | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2012-01-09 13:13:08 -0600 |
commit | 5b866f3ad18d497d39a35248c2b0fdb62fcfaa81 (patch) | |
tree | 883851d13e6fa50f40b8eb37c721b93782cd77df /nova/context.py | |
parent | 410d8e8b3191021513648e98ed11980dfe968ab9 (diff) | |
download | nova-5b866f3ad18d497d39a35248c2b0fdb62fcfaa81.tar.gz nova-5b866f3ad18d497d39a35248c2b0fdb62fcfaa81.tar.xz nova-5b866f3ad18d497d39a35248c2b0fdb62fcfaa81.zip |
Serialization, deserialization, and response code decorators.
Sets up decorators for linking serializers, deserializers, and response
codes directly to implementation methods, rather than using parallel
object methods. In addition, methods are now able to return an instance
of a ResponseObject class, binding alternative serializers; this is
particularly useful for actions, as it enables the action processing
method to return different objects for different actual actions.
Change-Id: I8815590f29a935216dc766ce720ded638ebca0d0
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions