package singleton; public class WiseFactory extends SomeFactory { protected WiseFactory() {} // Redefining factory methods, producing products... public Object getProduct1() { // ..... return new Object(); } public Object getProduct2() { // ..... return new Object(); } // .....}