@Retention(value=RUNTIME) @Target(value=METHOD) @GenerateServiceFromMethod(implementation="org.glassfish.config.support.GenericListCommand", advertisedContracts="org.glassfish.api.admin.AdminCommand") public @interface Listing
Create or Delete annotations
to generate a command implementation to list elements.
Types of elements are listed are infered from the annotated method and
parent instance to get the list of elements from must be returned by
the resolver.
See Create for initialization information| 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.
|
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends CrudResolver> |
resolver
Returns the instance of the parent that should be used get the list of children.
|
@GeneratedServiceName public abstract String value
public abstract org.glassfish.api.I18n i18n
public abstract Class<? extends CrudResolver> resolver
Copyright © 2013. All Rights Reserved.