|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optimizationservices.oscommon.util.DefaultRegistry
public class DefaultRegistry
The DefaultRegistry
class is a default registry
that is to be implemented by a registry that needs to be implemented as an
optimization service using OSServiceUtil.
OSServiceUtil
Field Summary | |
---|---|
java.lang.String |
osel
osel holds the OSeL entity input string to be registered. |
java.lang.String |
osolFind
osolFind holds the OSoL find option string (input). |
java.lang.String |
osolKnock
osolKnock holds the OSoL knock option string (input). |
java.lang.String |
osolRegister
osolRegister holds the OSoL register option string (input). |
java.lang.String |
osolValidate
osolValidate holds the OSoL validate option string (input). |
java.lang.String |
osplKnockInput
osplInput hols the OSpL knock process string (input) |
java.lang.String |
osplKnockOutput
osplKnockOutput hols the OSpL knock process string (output) |
java.lang.String |
osplRegisterOutput
osplRegisterOutput hols the OSpL register process string (output) |
java.lang.String |
osplValidateOutput
osplValidateOutput hols the OSpL validate process string (output) |
java.lang.String |
osql
osql holds the OSqL query input string. |
static OSRegistry |
osRegistry
osRegistry holds the registry database information in the standard OSRegistry data structure. |
java.lang.String |
osul
osul holds the os uri/url string (output) |
java.lang.String |
osxl
osxl holds the OSxL input string to be validated. |
static java.util.Hashtable<java.lang.String,ServiceEntry> |
serviceHashTable
serviceHashTable holds a hash table of registered services. |
java.lang.String |
serviceName
serviceName holds the service name. |
java.lang.String |
serviceType
serviceType holds the service type. |
java.lang.String |
serviceURI
serviceURI holds the service uri. |
Constructor Summary | |
---|---|
DefaultRegistry()
Default constructor. |
Method Summary | |
---|---|
void |
find()
Discover an Optimization Service whose instance is given by a string following the Optimization Services query Language (OSqL) schema and returns the location information in a string that follows the Optimization Services URI, or Universal Resource Indentifier Language, (OSuL) schema. |
void |
knock()
This method is called by one optimization service on another optimization service to provide runtime dynamic process information (push mechanism). |
static void |
main(java.lang.String[] args)
main for test purposes. |
void |
register()
register an Optimization Service whose instance is given by a string following the Optimization Services entity Language (OSeL) schema and returns a string that contains an XSLT style sheet transformation so that it can be used for standard web pubblication of the Optimization Service that just joined. |
void |
validate()
Validate an osxl string according to the corresponding OSxL schema. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String serviceName
public java.lang.String serviceURI
public java.lang.String serviceType
public java.lang.String osql
public java.lang.String osel
public java.lang.String osxl
public java.lang.String osplKnockInput
public java.lang.String osolKnock
public java.lang.String osolRegister
public java.lang.String osolFind
public java.lang.String osolValidate
public java.lang.String osplKnockOutput
public java.lang.String osplValidateOutput
public java.lang.String osplRegisterOutput
public java.lang.String osul
public static OSRegistry osRegistry
public static java.util.Hashtable<java.lang.String,ServiceEntry> serviceHashTable
Constructor Detail |
---|
public DefaultRegistry()
Method Detail |
---|
public void register()
public void validate()
public void find()
public void knock()
public static void main(java.lang.String[] args)
argv
- command line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |