Beispiel #1
0
 public static KeyFactory create(ClassLoader loader, Class keyInterface, Customizer customizer) {
   Generator gen = new Generator();
   gen.setInterface(keyInterface);
   gen.setCustomizer(customizer);
   gen.setClassLoader(loader);
   return gen.create();
 }
 public static MethodDelegate create(Object target, String methodName, Class iface) {
   Generator gen = new Generator();
   gen.setTarget(target);
   gen.setMethodName(methodName);
   gen.setInterface(iface);
   return gen.create();
 }