dana-i2cat/opennaas — pull request #650 by isartcanyameres (2013-09-17 13:25:23+00:00)
Title: Feature/of switch driver floodlight

FloodlightProtocolSession instantiates a client with anotated IFloodlightStaticFlowPusherClient interface.
The client uses CustomJSONProvider to serialize/deserialize FloodlightOFFlow data structures.

CustomJSONProvider contains a serializer and a deserializer for FloodlightOFFlow and application/json MediaType.
The mapping between model classes and serializers is configured in CustomJSONProvider.
This way, model classes are not linked to serializers.

A tests checks CustomJSONProvider serializes and deserializes as expected by floodlight.