Rick Parker created PROTON-1436:
-----------------------------------
Summary: Make EncoderImpl non-final
Key: PROTON-1436
URL: https://issues.apache.org/jira/browse/PROTON-1436
Project: Qpid Proton
Issue Type: Improvement
Components: proton-j
Affects Versions: proton-j-0.18.0
Environment: NA
Reporter: Rick Parker
Priority: Minor
Fix For: proton-j-0.19.0
org.apache.qpid.proton.codec.EncoderImpl is final.
org.apache.qpid.proton.codec.DecoderImpl is non-final. I'm working on a use
case where it would be great to override EncoderImpl.getTypeFromClass() to
dynamically register described types as they are encountered (and do not
implement DescribedType), but I cannot currently do so due to the class being
final. I have to walk the object graph first to register types, or fork the
code and change EncoderImpl myself.
Or perhaps there's a reason it is final?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]