Package org.glassfish.api.admin
Annotation Type RestRedirect
-
@Retention(RUNTIME) public @interface RestRedirect
annotation to redirect a rest request from CRUD operations on the configuration tree to a command invocation (like deploy, undeploy).- Author:
- Jerome Dochez
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description String
commandName
Command identification for the redirection.RestRedirect.OpType
opType
Rest operation type that should trigger a redirect to an actual asadmin command invocation
-
-
-
Element Detail
-
opType
RestRedirect.OpType opType
Rest operation type that should trigger a redirect to an actual asadmin command invocation- Returns:
- the rest operation type for this redirect
-
-
-
commandName
String commandName
Command identification for the redirection.- Returns:
- the name of the command to invoke
-
-