Class VertxOptionsRegistry

java.lang.Object
org.wildfly.extension.vertx.VertxOptionsRegistry

public final class VertxOptionsRegistry extends Object
A central place to register the defined VertxOptions.
Author:
Lin Gao
  • Method Details

    • getInstance

      public static VertxOptionsRegistry getInstance()
    • getNamedVertxOptions

      public NamedVertxOptions getNamedVertxOptions(String name)
      Gets the NamedVertxOptions by the name.
      Parameters:
      name - the defined name for the NamedVertxOptions
      Returns:
      the NamedVertxOptions
    • addVertxOptions

      public void addVertxOptions(NamedVertxOptions namedVertxOptions)
      Adds a NamedVertxOptions into this registry.
      Parameters:
      namedVertxOptions - the NamedVertxOptions to add
    • removeVertxOptions

      public void removeVertxOptions(String name)
      Removes a NamedVertxOption by its name
      Parameters:
      name - the name of the NamedVertxOptions to remove