IoC Cookbook - PatternsPage edited by Bob Harner
Comment:
Fixed the &, <, > and " occurrances as reported by basileChandesris
Changes (16)
Full ContentUsing PatternsTapestry IoC has support for implementing several of the Gang Of Four Design Patterns. In fact, the IoC container itself is a pumped up version of the Factory pattern. The basis for these patterns is often the use of service builder methods, where a configuration for the service is combined with a factory to produce the service implementation on the fly. Chain of Command PatternMain Article: Chain of Command Let's look at another example, again from the Tapestry code base. The InjectProvider interface is used to process the @Inject annotation on the fields of a Tapestry page or component. Many different instances are combined together to form a chain of command. The interface has only a single method (this is far from uncommon): public interface InjectionProvider { boolean provideInjection(String fieldName, Class fieldType, ObjectLocator locator, ClassTransformation transformation, MutableComponentModel componentModel); }
Stop watching space
|
Change email notification preferences
View Online
|
View Changes
|