Annotation Type HasNoDefaultConfiguration


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface HasNoDefaultConfiguration
    To annotated the config beans that cannot have default configuration value build by the generic configuration creation mechanism. For example, the org.glassfish.loadbalancer.config.LoadBalancers cannot have default value because it will be an empty collection and thus meaningless. This annotation preserve the current behaviour of the system and help developers mark a config bean and prevent it being created using the default mechanisms.
    Author:
    Masoud Kalali