The Factory pattern is an excellent way to solve a variety of programming problems using an object-oriented language. It’s a simple pattern, but for some developers, not quite simple enough. Den found this interface :

public interface IInstanceFactory {  
    public IInstanceFactory getInstanceFactory();  
    public IInstanceFactory getInstance();  
    public IInstanceFactory getOrderFactory();  
    public IInstanceFactory getGroupFactory();  
    public IInstanceFactory getUserFactory();  
}
[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!