Projects tagged ‘injection’ and ‘ioc’


[16 total ]

6 Users

You can use the same framework in ActionScript 1,2,3 and SSAS to deploy your RIAs.
Created about 1 year ago.

3 Users
 

Zipper is a Application Framework, with reduce the programmer work with IoC, JSR 220, 296 295 and others. Zipper is a Base for SGAP, TecServManager and LogisticaDigital on Java.net. and ... [More] FullServiceVirtual (Virtual) on code.google.com. Modules: * Zipper-JSF * ConfigManager (ZipperConfigManager) * ConfigManager-ServiceLocator (ZipperServiceLocator) * PersistenceUtils (ZipperPersistenceUtils) [Less]
Created 12 months ago.

1 Users

Indigo is an architectural framework based on IOC (Spring) and developed in Actionscript 3. It provides a clean base for all developers seeking to build solid applications, scalable and maintainable ... [More] in a market in perpetual motion. Available for Flash, Flex and AIR [Less]
Created about 1 year ago.

0 Users

jnurse ioc - Dependency injector
Created 25 days ago.

0 Users

Inversion Of Control sample to build a security system using: WCF, Unity, ASP.NET.
Created 8 months ago.

0 Users

So you want to create C++ applications that are manageable, extensible and configurable? This project is about bringing Dependency Injection into the C++ world in the simplest possible and least ... [More] obtrusive way. C++ is missing some features that are present in Java, for example reflection. So it is not possible to get in C++ the same as you have in Java, but you can get very close with... code generation. The key idea is to take a set of POCO's (plain old c++ objects) together with an xml configuration file and automatically generate everything else that is needed (a Bean Factory). C++ objects can be really plain, there is no need to implement special interfaces, no need to add additional classes, wrappers, etc. Code generator is written in java, so it runs on every platform. It generates C++ code of course. This framework is currently in active development. Would you like to join? Questions or suggestions? PLEASE WRITE! WhyThisFramework For convenience in windows there is .exe launcher provided as well. [Less]
Created 2 months ago.

0 Users

Usage Manual Using The Container As a Factory, And No More "new" Statements! In this first example we learn how to obtain class instances from a Gamba Container, and how it decouples your component ... [More] implementation from each others. Everybody knows that hardcoding is a bad practice... but whenever you place a new statement in your code, you are really taking a concrete class implementation in a hardcoded way! For example, supposing that you wants for a java.util.List implementation instance, and you choose a java.util.ArrayList: List list = (List) new ArrayList();Well, but if you want to choose another implementation for a List, you will have to change all your classes that news it. Lechuga solves this problem, since the concrete implementation class is uniquely declared in a context file as is: After declaring the class implementation, you can obtain an instance of this, calling the Gamba Container: GambaContext gc = GambaContainer.getContext("tips-context.xml"); List myList = (List) gc.getBean("myList"); Assert.assertTrue(myList instanceof List); Now, if you want to choose another implementation for a List (i.e. LinkedList), you only must have to change the class specified in a context file, and all your classes that instantiates it will obtain the new implementation: Dependency Injection Dependency Injection means to inject recursively into your requested bean instance his declared dependencies. This feature allows you to obtain a desired bean instance (obtained by a Factory, in fact), fully configured and ready to use, altought his object-dependencies are being injected. Setter Injection For example, suppose that you have in hands: In the above example, a "b" instance are being injected to an "a" instance using setter injection. When you asks the container for an "a" instance, the container works for you and performs reflect operations to do the same as the following piece of code: A a = new A(); B b = new B(); a.setB(b); return a; Constructor Injection A constructor injection is another kind of injection. For example the definition: will cause that when a "b" instance is requested, container performs: A a = new A(); B b = new B(a); return b;Gamba Container Don't Works Lazily, just Eagerly In order to prevent unexpected exception throwing at run-time, all bean definitions are parsed and loaded in context loading-time (that is, when you calls GambaContainer.getContext(...)), performing a check of all defined beans, thinking about her future life-cycle. --> [Less]
Created about 1 month ago.

0 Users

KouInjectKouInject is a simple dependency injection framework for Java. See the user guide for more information. News:15.11.2009: Version 0.5 - the first public release is out Read more. ... [More] Features:Annotations instead of XML Injection in constructors, fields and methods Requirements:Java SE 6 (http://www.java.com/) Created by Christian Ihle [Less]
Created 18 days ago.

0 Users

Arid POJOs is a framework for simplifying POJO application development. Automatic Spring Bean GenerationArid POJOs provides a custom Spring/XML namespace that scans a package hierarchy and generate ... [More] bean definitions for the classes or interfaces that it finds. The classes and interfaces can be filtered by an AspectJ type pattern, which supports various criteria including name matching, annotations, and subtypes. The generated beans use autowiring. Here is a simple example. ... ... The generated bean definitions can also instantiate an entirely different class. The original interface/class is passed as a constructor argument. This is used, for example, with the dynamic Generic DAO feature. Dynamic Generic DAOsArid POJOs can also generate DAO implementations from an interface using a Grails GORM/Rails Active Record like mechanism. Here is an example interface: public interface CustomerRepository extends GenericDao { Customer findByCustomerId(String customerId); Customer findUsingSomeStrangeNamedQuery(String firstName, String lastName); }Arid POJOs will generate a proxy, which implements this interface. The findByCustomerId() method is turned into Criteria Query, which searches on the customerId property, and the findUsingSomeStrangeNamedQuery() method ends up calling a named query. This is accomplished using the following bean definitions: ... ... [Less]
Created about 1 year ago.

0 Users

My current interests lie in ASP.NET MVC, and how to create a framework and/or a project template that would meet my general project needs.
Created 8 months ago.