com.julienviet.groovy.pgclient.VertxExtensionModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of reactive-pg-client Show documentation
Show all versions of reactive-pg-client Show documentation
The reactive Postgres client
package com.julienviet.groovy.pgclient;
import groovy.lang.MetaMethod;
import org.codehaus.groovy.runtime.m12n.ExtensionModule;
import org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule;
import java.util.Collections;
import java.util.List;
import java.util.Properties;
public class VertxExtensionModule extends ExtensionModule {
private static final String extensionClasses = "com.julienviet.groovy.pgclient.PgConnection_GroovyExtension, com.julienviet.groovy.pgclient.PgIterator_GroovyExtension, com.julienviet.groovy.pgclient.PgStream_GroovyExtension, com.julienviet.groovy.pgclient.Row_GroovyExtension, com.julienviet.groovy.pgclient.Tuple_GroovyExtension";
private static final String staticExtensionClasses = "com.julienviet.groovy.pgclient.PgClient_GroovyStaticExtension, com.julienviet.groovy.pgclient.pubsub.PgSubscriber_GroovyStaticExtension, com.julienviet.groovy.pgclient.Tuple_GroovyStaticExtension";
private final ExtensionModule delegate; public VertxExtensionModule() {
super("com.julienviet.pgclient", "3.5.0");
Properties props = new Properties();
props.put("moduleName", "com.julienviet.pgclient");
props.put("moduleVersion", "3.5.0");
props.put("extensionClasses", extensionClasses);
props.put("staticExtensionClasses", staticExtensionClasses);
delegate = MetaInfExtensionModule.newModule(props, getClass().getClassLoader());
}
public List getMetaMethods() {
return delegate.getMetaMethods();
}
}