public enum ExtensionPoints extends Enum<ExtensionPoints>
Enum Constant and Description |
---|
COMMAND_LINE
An extension that contributes a
CommandProvider commandline
sub-command. |
HTTP_FILTER
An extension that contributes a servlet
Filter . |
HTTP_SERVLET
An Extension that contributes a
HttpServlet . |
LIFECYCLE
An Extension that participates in the application startup and/or shutdown
process.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
type()
The type of the extension point
|
static ExtensionPoints |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtensionPoints[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtensionPoints COMMAND_LINE
CommandProvider
commandline
sub-command.public static final ExtensionPoints HTTP_FILTER
Filter
. The filter must be
annotated with the Priority
annotation and use one of the rings
defined by FilterOrder
to indicate at what stage in the filtering
pipeline it should be invoked.
The filter will be invoked for every request.public static final ExtensionPoints HTTP_SERVLET
HttpServlet
. The implementation
must be annotated with the Dispatches
annotation to advertise the
route patterns that it handles.public static final ExtensionPoints LIFECYCLE
Priority
to indicate
where in the startup/shutdown cycle it should be invoked.public static ExtensionPoints[] values()
for (ExtensionPoints c : ExtensionPoints.values()) System.out.println(c);
public static ExtensionPoints valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Class<?> type()
Oracle REST Data Services Plugin API version: 3.0.0.65.09.35 Copyright © 2015 Oracle Corp. All Rights Reserved.