Hi folks,

I was just thinking perhaps we should simplify all the factory stuff
in the proton API.  Mostly get rid of it.  Don't think it's really
needed.  Mainly I think we need to make Proton an interface and let
folks assign it the desired implementation.  Something like:

Proton p = new ProtonJ();

or

Proton p = new ProtonC();

where ProtonJ and ProtonC are in the respective implementation jars.

if folks really want to make it configurable, they can easily build an
if statement to pick the impl that they desire.


-- 
Hiram Chirino

Engineering | Red Hat, Inc.

hchir...@redhat.com | fusesource.com | redhat.com

skype: hiramchirino | twitter: @hiramchirino

blog: Hiram Chirino's Bit Mojo

Reply via email to