Example usage for io.vertx.core ServiceHelper loadFactory

List of usage examples for io.vertx.core ServiceHelper loadFactory

Introduction

In this page you can find the example usage for io.vertx.core ServiceHelper loadFactory.

Prototype

public static <T> T loadFactory(Class<T> clazz) 

Source Link

Usage

From source file:pt.davidafsilva.slacker.api.AbstractSlackerExecutor.java

License:Open Source License

@Override
public void init(final Vertx vertx, final Context context) {
    this.vertx = vertx;
    this.context = context;
    this.futureFactory = ServiceHelper.loadFactory(FutureFactory.class);
    // register the slacker message codecs
    registerCodecs();/* w w w  .java  2 s  . com*/
}