public class BBoardProvFtryV010 extends eventweb.servutil.EvwSrvcBase implements SrvcProvFtry
This is a bulletin board application. Clients can add and/or remove posts that are visible to all users.
Modifier and Type | Class and Description |
---|---|
class |
BBoardProvFtryV010.BBoardProvImp
The template service provider implementation.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
DEP_LIST
Class dependencies
|
static int |
MAX_MSG_SIZE
Maximum expected message size (send or receive)
|
static int |
PREF_ACTIVITY_TMO
Preferred activity timeout
|
static java.util.TreeSet<java.lang.String> |
rsrcList
Supported resource requests
|
static java.util.List<java.lang.Integer> |
SUPPORTED_MEDIA
MIME types supported by the service, in order of preference.
|
static java.util.TreeSet<java.lang.String> |
tagList
Supported request tags
|
static java.lang.String |
VERSION
Class version
|
IF_VERSION
IF_VERSION
Constructor and Description |
---|
BBoardProvFtryV010()
Create a new BBoardProvFtry instance
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxMsgSize()
Get the maximum message size expected by the service.
|
java.util.List<java.lang.Integer> |
getSupportedMedia()
Get the MIME types supported by the service.
|
java.util.Set<java.lang.String> |
getSupportedTags()
Get the tags supported by the service.
|
java.util.Set<java.lang.String> |
getSupportedValues(java.lang.String tag)
Get the values that are valid for a tag.
|
void |
init(eventweb.servutil.SrvcRegistry registry,
TvList params)
Initialize the provider
|
BBoardProvFtryV010.BBoardProvImp |
newClient()
Get a SrvcProvImp for a new client
|
void |
quiesce()
Stop accepting new requests and release resources
|
int |
suggestActivityTimeout()
Suggest an activity timeout for the service.
|
public static final java.lang.String VERSION
public static final java.lang.String[] DEP_LIST
public static final java.util.TreeSet<java.lang.String> tagList
public static final java.util.TreeSet<java.lang.String> rsrcList
public static final java.util.List<java.lang.Integer> SUPPORTED_MEDIA
public static final int MAX_MSG_SIZE
public static final int PREF_ACTIVITY_TMO
public BBoardProvFtryV010()
public void init(eventweb.servutil.SrvcRegistry registry, TvList params)
init
in interface eventweb.servutil.RegInit
init
in class eventweb.servutil.EvwSrvcBase
registry
- The service registryparams
- Initialization parameterspublic java.util.Set<java.lang.String> getSupportedTags()
getSupportedTags
in interface eventweb.servutil.SelfDescribing
public java.util.Set<java.lang.String> getSupportedValues(java.lang.String tag)
getSupportedValues
in interface eventweb.servutil.SelfDescribing
tag
- The tag to get values for.public java.util.List<java.lang.Integer> getSupportedMedia()
getSupportedMedia
in interface eventweb.servutil.SelfDescribing
MimeType
public int getMaxMsgSize()
getMaxMsgSize
in interface eventweb.servutil.SelfDescribing
public int suggestActivityTimeout()
suggestActivityTimeout
in interface eventweb.servutil.SelfDescribing
public BBoardProvFtryV010.BBoardProvImp newClient()
newClient
in interface SrvcProvFtry