org.wildfly.swarm.config.elytron

## Class ServiceLoaderHTTPServerMechanismFactory<T extends ServiceLoaderHTTPServerMechanismFactory<T>>

- java.lang.Object
- - org.wildfly.swarm.config.elytron.ServiceLoaderHTTPServerMechanismFactory<T>

-     public class ServiceLoaderHTTPServerMechanismFactory<T extends ServiceLoaderHTTPServerMechanismFactory<T>>
      extends Object

  A http server factory definition where the http server factory is an aggregation of factories identified using a ServiceLoader

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServiceLoaderHTTPServerMechanismFactory(String key)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `T` | `availableMechanism(String value)` The HTTP mechanisms available from this factory instance.
    `List<String>` | `availableMechanisms()` The HTTP mechanisms available from this factory instance.
    `T` | `availableMechanisms(List<String> value)` The HTTP mechanisms available from this factory instance.
    `T` | `availableMechanisms(String... args)` The HTTP mechanisms available from this factory instance.
    `String` | `getKey()`
    `String` | `module()` The module to use to obtain the classloader to load the factories, if not specified the classloader to load the resource will be used instead.
    `T` | `module(String value)` The module to use to obtain the classloader to load the factories, if not specified the classloader to load the resource will be used instead.
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ServiceLoaderHTTPServerMechanismFactory

          public ServiceLoaderHTTPServerMechanismFactory(String key)

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### addPropertyChangeListener

          public void addPropertyChangeListener(PropertyChangeListener listener)

      Adds a property change listener

    - #### removePropertyChangeListener

          public void removePropertyChangeListener(PropertyChangeListener listener)

      Removes a property change listener

    - #### availableMechanisms

          public List<String> availableMechanisms()

      The HTTP mechanisms available from this factory instance.

    - #### availableMechanisms

          public T availableMechanisms(List<String> value)

      The HTTP mechanisms available from this factory instance.

    - #### availableMechanism

          public T availableMechanism(String value)

      The HTTP mechanisms available from this factory instance.

    - #### availableMechanisms

          public T availableMechanisms(String... args)

      The HTTP mechanisms available from this factory instance.

    - #### module

          public String module()

      The module to use to obtain the classloader to load the factories, if not specified the classloader to load the resource will be used instead.

    - #### module

          public T module(String value)

      The module to use to obtain the classloader to load the factories, if not specified the classloader to load the resource will be used instead.

Copyright © 2017 JBoss by Red Hat. All rights reserved.