public static KeyFactory create(Class keyInterface) { return create(keyInterface, null); }
public static KeyFactory create(ClassLoader loader, Class keyInterface, Customizer customizer) { return create(loader, keyInterface, customizer, Collections.<KeyFactoryCustomizer>emptyList()); }
public static KeyFactory create(Class keyInterface, Customizer customizer) { return create(keyInterface.getClassLoader(), keyInterface, customizer); }
public static KeyFactory create(Class keyInterface, KeyFactoryCustomizer first, List<KeyFactoryCustomizer> next) { return create(keyInterface.getClassLoader(), keyInterface, first, next); }
public static KeyFactory create(Class keyInterface) { return create(keyInterface, null); }
public static KeyFactory create(Class keyInterface, Customizer customizer) { return create(keyInterface.getClassLoader(), keyInterface, customizer); }
public static KeyFactory create(ClassLoader loader, Class keyInterface, Customizer customizer) { return create(loader, keyInterface, customizer, Collections.<KeyFactoryCustomizer>emptyList()); }
public static KeyFactory create(Class keyInterface, KeyFactoryCustomizer first, List<KeyFactoryCustomizer> next) { return create(keyInterface.getClassLoader(), keyInterface, first, next); }
public static KeyFactory create(Class keyInterface) { return create(keyInterface, null); }
public static KeyFactory create(Class keyInterface) { return create(keyInterface, null); }
public static KeyFactory create(Class keyInterface, KeyFactoryCustomizer first, List<KeyFactoryCustomizer> next) { return create(keyInterface.getClassLoader(), keyInterface, first, next); }
public static KeyFactory create(Class keyInterface, Customizer customizer) { return create(keyInterface.getClassLoader(), keyInterface, customizer); }
public static KeyFactory create(Class keyInterface, KeyFactoryCustomizer first, List<KeyFactoryCustomizer> next) { return create(keyInterface.getClassLoader(), keyInterface, first, next); }
public static KeyFactory create(ClassLoader loader, Class keyInterface, Customizer customizer) { return create(loader, keyInterface, customizer, Collections.<KeyFactoryCustomizer>emptyList()); }
public static KeyFactory create(ClassLoader loader, Class keyInterface, KeyFactoryCustomizer customizer, List<KeyFactoryCustomizer> next) { Generator gen = new Generator(); gen.setInterface(keyInterface); // SPRING PATCH BEGIN gen.setContextClass(keyInterface); // SPRING PATCH END if (customizer != null) { gen.addCustomizer(customizer); } if (next != null && !next.isEmpty()) { for (KeyFactoryCustomizer keyFactoryCustomizer : next) { gen.addCustomizer(keyFactoryCustomizer); } } gen.setClassLoader(loader); return gen.create(); }