@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface WebActor
A class annotated with this annotation will be automatically loaded by COMSAT and spawned as a web actor.
Modifier and Type | Optional Element and Description |
---|---|
String |
description
Description of this WebActor, if present.
|
String |
displayName
Display name of this WebActor, if present.
|
String[] |
httpUrlPatterns
Array of HTTP URL patterns to which this WebActor applies.
|
String |
name
The name of the WebActor.
|
String[] |
value
A convenience property, to allow extremely simple annotation of a class - Array of HTTP URL patterns.
|
String[] |
webSocketUrlPatterns
Array of WebSocket URI patterns to which this WebActor applies.
|
public abstract String name
The name of the WebActor.
public abstract String displayName
Display name of this WebActor, if present.
public abstract String description
Description of this WebActor, if present.
public abstract String[] httpUrlPatterns
Array of HTTP URL patterns to which this WebActor applies. For example /myservice
, or /myservice/*
.
public abstract String[] webSocketUrlPatterns
Array of WebSocket URI patterns to which this WebActor applies. For example /myservice/ws
, or /myservice/ws/*
.
public abstract String[] value
A convenience property, to allow extremely simple annotation of a class - Array of HTTP URL patterns.
httpUrlPatterns()