org.wildfly.swarm.swagger.deployment

## Class SwaggerExtension

- java.lang.Object
- - org.wildfly.swarm.swagger.deployment.SwaggerExtension

-     public class SwaggerExtension
      extends Object

  CDI extension for wrapping around types that extend the JAX-RS application.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SwaggerExtension()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `processAfterTypeDiscovery(AfterTypeDiscovery event)` Associate the interceptor.
    `<T extends Application> void` | `processAnnotatedType(<any> event)` Associate the `AddSwaggerResources` interceptor binding with any bean that is a subclass of `Application`.
    `void` | `processBeforeBeanDiscovery(BeforeBeanDiscovery event, BeanManager beanManager)` Associate the InterceptorBinding annotation.

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

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

- - ### Constructor Detail

    - #### SwaggerExtension

          public SwaggerExtension()

  - ### Method Detail

    - #### processBeforeBeanDiscovery

          public void processBeforeBeanDiscovery(BeforeBeanDiscovery event,
                                                 BeanManager beanManager)

      Associate the InterceptorBinding annotation.

    - #### processAfterTypeDiscovery

          public void processAfterTypeDiscovery(AfterTypeDiscovery event)

      Associate the interceptor.

    - #### processAnnotatedType

          public <T extends Application> void processAnnotatedType(<any> event)

      Associate the `AddSwaggerResources` interceptor binding with any bean that is a subclass of `Application`.

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