Class DynTabDiscoveryExtension.DiscoveredTab

java.lang.Object
dyntabs.annotation.DynTabDiscoveryExtension.DiscoveredTab
Enclosing class:
DynTabDiscoveryExtension

public static class DynTabDiscoveryExtension.DiscoveredTab extends Object
Public class that holds data about a single discovered @DynTab.

Stores a reference to the annotation and the bean class. It is public because DynTabRegistry needs to access it from its @PostConstruct.

A single bean can have multiple @DynTab annotations (thanks to @Repeatable), so such a bean will have multiple DiscoveredTab instances - one for each annotation. Each instance has a different name (from the annotation) but the same beanClass.

  • Method Details

    • getAnnotation

      public DynTab getAnnotation()
    • getBeanClass

      public Class<?> getBeanClass()