Introduced to prevent problems when creating {@link Codec Codecs} for objects thatintroduce a circular dependency, like the example below:
class Foo { @Bound private Bar value; } class Bar { @Bound private Foo value; }
Without using this {@link CodecFactory} decorator, the underlying {@link CodecFactory} might potentiallygenerate a stack overflow, creating {@link Codec Codecs} for Foo and Bar.
Note that this class alsoprovides a convenient way to access the {@link Codec Codecs} created, which comes in handy when generatingdocumentation for all of these {@link Codec Codecs}. (See {@link #getCodecs()}.)
@author Wilfred Springer
|
|