@Retention(value=RUNTIME) @Repeatable(value=LegacyServices.class) public @interface LegacyService
During conversion, for REST services this annotation is built from the artifacts generated by OE.
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
REST
Identifies a REST service.
|
static java.lang.String |
SOAP
Identifies a SOAP service.
|
static java.lang.String |
WEBHANDLER
Identifies a WebHandler service.
|
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
type
The service type (i.e.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
address
The service-specific path suffix.
|
java.lang.String |
binding
The SOAP-specific biding.
|
java.lang.String |
consumes
The mime-type to interpret the request's body.
|
java.lang.String |
executionMode
The execution mode (single-run, singleton, external, persistent or delete).
|
java.lang.String |
name
The service name.
|
java.lang.String |
namespace
The web service namespace served by this service.
|
int |
order
Certain services require to be ordered by their name.
|
LegacyServiceParameter[] |
parameters
The specification of any parameters used by this service.
|
java.lang.String |
path
The relative path (to the main handler path) of the service.
|
LegacyWebPath[] |
paths
The paths served by this service.
|
java.lang.String |
produces
The mime-type to serialize the response.
|
java.lang.String |
verb
The service verb (GET, POST, PUT, DELETE, etc).
|
public abstract LegacyWebPath[] paths
public abstract java.lang.String namespace
public abstract java.lang.String executionMode
public abstract java.lang.String path
public abstract java.lang.String verb
public abstract java.lang.String produces
public abstract java.lang.String consumes
public abstract LegacyServiceParameter[] parameters