org.glassfish.api.admin
Annotation Type RestRedirect


@Retention(value=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
 java.lang.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

public abstract 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

public abstract java.lang.String commandName
Command identification for the redirection.

Returns:
the name of the command to invoke


Copyright © 2012 GlassFish Community. All Rights Reserved.