Search in sources :

Example 1 with DeserializationFactory

use of org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializationFactory in project openflowplugin by opendaylight.

the class AbstractDeserializerTest method setUp.

@Before
public void setUp() throws Exception {
    registry = new DeserializerRegistryImpl();
    registry.init();
    factory = new DeserializationFactory(registry);
    provider = new DeserializerExtensionProviderImpl(registry, factory);
    DeserializerInjector.injectDeserializers(provider);
    MessageDeserializerInjector.injectLegacyDeserializers(provider);
    init();
}
Also used : DeserializerRegistryImpl(org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl) DeserializationFactory(org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializationFactory) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 DeserializationFactory (org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializationFactory)1 DeserializerRegistryImpl (org.opendaylight.openflowjava.protocol.impl.deserialization.DeserializerRegistryImpl)1