Ceki Gulcu schrieb:
> Hello Gunnar,
> 
> MDC is by construction a class with static methods. I fail to see how
> IMDCFactory could be made to create a fixed and static class. It just
> does not make sense. Have you noticed the MDCAdapter interface?

Sorry, I might not have been clear enough.

StaticMDCBinder uses a public static final field SINGLETON.
StaticLoggerBinder and StaticMarkerBinder use a public static method
getSingleton().

StaticLoggerBinder and StaticMarkerBinder implements and interface which
defines a contract for the public getter.
StaticMDCBinder does not.

I was wondering if the programming pattern should be the same in
StaticMDCBinder to make adoption easier and to have a contract for the
getMDCA and getMDCAdapterClassStr methods as we have for
StaticLoggerBinder and StaticMarkerBinder.

-Gunnar

-- 
Gunnar Wagenknecht
gun...@wagenknecht.org
http://wagenknecht.org/

_______________________________________________
dev mailing list
dev@slf4j.org
http://www.slf4j.org/mailman/listinfo/dev

Reply via email to