Skip navigation links
org.glassfish.config.support

Annotation Type Delete

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element and Description
      org.glassfish.api.I18n i18n
      Returns the i18n key that will be used to look up a localized string in the annotated type module.
      String value
      Name of the command that will be used to register this generic command implementation under.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      org.glassfish.api.admin.ExecuteOn cluster
      Returns the desired behaviors in a clustered environment.
      Class<? extends DeletionDecorator> decorator
      Returns a decorator type that should be looked up and called when a configuration element of the annotated type is deleted.
      Class<? extends CrudResolver> resolver
      Returns the instance of the configured object that should be deleted.
    • Element Detail

      • value

        @GeneratedServiceName
        public abstract String value
        Name of the command that will be used to register this generic command implementation under.
        Returns:
        the command name as the user types it.
      • i18n

        public abstract org.glassfish.api.I18n i18n
        Returns the i18n key that will be used to look up a localized string in the annotated type module.
        Returns:
        the key to look up localized description for the command.
      • resolver

        public abstract Class<? extends CrudResolver> resolver
        Returns the instance of the configured object that should be deleted. The implementation of that interface can use the command parameters to make a determination about which instance should be used.
        Returns:
        the instance targeted for deletion.
        Default:
        org.glassfish.config.support.CrudResolver.DefaultResolver.class
      • decorator

        public abstract Class<? extends DeletionDecorator> decorator
        Returns a decorator type that should be looked up and called when a configuration element of the annotated type is deleted.
        Returns:
        a deletion decorator for the annotated type
        Default:
        org.glassfish.config.support.DeletionDecorator.NoDecoration.class
      • cluster

        public abstract org.glassfish.api.admin.ExecuteOn cluster
        Returns the desired behaviors in a clustered environment. By default, using all the ExecuteOn default values
        Returns:
        the cluster information
        Default:
        @org.glassfish.api.admin.ExecuteOn

Copyright © 2017–2020 Eclipse Foundation. All rights reserved.