Enable Configurable Behavior With Plugin | |||
| |||
Context: Enable Configurable Behavior With Plugin is a variation on Enable Substitution With Interfaces where the substitution allows the context class to be configured with an external implementation of a given interface. Configuring the default implementation with a NullObject relieves the context class from having to deal with the variation between a null referenc and given plugin. |