- Author:
- Jerome Dochez
|
Required Element Summary |
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 |
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. |
value
@Index
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 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 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 © 2012 GlassFish Community. All Rights Reserved.