cgl.expeditor.registry
Class ExpeditorRegistryEngine

java.lang.Object
  extended bycgl.expeditor.AbstractRegistry
      extended bycgl.expeditor.registry.ExpeditorRegistryEngine
All Implemented Interfaces:
IRegistry

public class ExpeditorRegistryEngine
extends AbstractRegistry

Author:
Mehmet S. Aktas (maktas@indiana.edu)

Field Summary
static java.lang.String DEFAULT_ADMIN_EMAIL_ADDRESS
           
static java.lang.String DEFAULT_AUTH_CLASS_NAME
           
static java.lang.String DEFAULT_CRYPTOR_CLASS_NAME
           
static java.lang.String DEFAULT_DATASOURCE_NAME
           
static java.lang.String DEFAULT_DATASTORE_CLASS_NAME
           
static int DEFAULT_MAX_BINDING_TEMPLATES_PER_SERVICE
           
static int DEFAULT_MAX_BUSINESS_ENTITIES_PER_USER
           
static int DEFAULT_MAX_BUSINESS_SERVICES_PER_BUSINESS
           
static int DEFAULT_MAX_MESSAGE_SIZE
           
static int DEFAULT_MAX_NAME_ELEMENTS
           
static int DEFAULT_MAX_NAME_LENGTH
           
static int DEFAULT_MAX_ROWS_LIMIT
           
static int DEFAULT_MAX_TMODELS_PER_USER
           
static java.lang.String DEFAULT_MONITOR_CLASS_NAME
           
static java.lang.String DEFAULT_OPERATOR_NAME
           
static java.lang.String DEFAULT_OPERATOR_URL
           
static java.lang.String DEFAULT_UUIDGEN_CLASS_NAME
           
static java.lang.String DEFAULT_VALIDATOR_CLASS_NAME
           
static java.lang.String PROPNAME_ADMIN_EMAIL_ADDRESS
           
static java.lang.String PROPNAME_AUTH_CLASS_NAME
           
static java.lang.String PROPNAME_CRYPTOR_CLASS_NAME
           
static java.lang.String PROPNAME_DATASOURCE_NAME
           
static java.lang.String PROPNAME_DATASTORE_CLASS_NAME
           
static java.lang.String PROPNAME_MAX_BINDING_TEMPLATES_PER_SERVICE
           
static java.lang.String PROPNAME_MAX_BUSINESS_ENTITIES_PER_USER
           
static java.lang.String PROPNAME_MAX_BUSINESS_SERVICES_PER_BUSINESS
           
static java.lang.String PROPNAME_MAX_MESSAGE_SIZE
           
static java.lang.String PROPNAME_MAX_NAME_ELEMENTS
           
static java.lang.String PROPNAME_MAX_NAME_LENGTH
           
static java.lang.String PROPNAME_MAX_ROWS_LIMIT
           
static java.lang.String PROPNAME_MAX_TMODELS_PER_USER
           
static java.lang.String PROPNAME_MONITOR_CLASS_NAME
           
static java.lang.String PROPNAME_OPERATOR_NAME
           
static java.lang.String PROPNAME_OPERATOR_URL
           
static java.lang.String PROPNAME_UUIDGEN_CLASS_NAME
           
static java.lang.String PROPNAME_VALIDATOR_CLASS_NAME
           
 
Fields inherited from interface cgl.expeditor.IRegistry
JUDDI_V1_GENERIC, JUDDI_V1_NAMESPACE, UDDI_V1_GENERIC, UDDI_V1_NAMESPACE, UDDI_V2_GENERIC, UDDI_V2_NAMESPACE, UDDI_V3_GENERIC, UDDI_V3_NAMESPACE
 
Constructor Summary
ExpeditorRegistryEngine()
          Create a new instance of RegistryEngine.
ExpeditorRegistryEngine(java.util.Properties props)
          Creates a new instance of RegistryEngine.
 
Method Summary
 void dispose()
          Releases any acquired resources.
 org.apache.juddi.datatype.RegistryObject execute(org.apache.juddi.datatype.RegistryObject request)
           
 void init()
          Initialize required resources.
 boolean isAvailable()
          Returns 'true' if the registry is available to handle requests, otherwise returns 'false'.
static void main(java.lang.String[] args)
           
 
Methods inherited from class cgl.expeditor.AbstractRegistry
deletePublisher, discardAuthToken, findPublisher, getAuthToken, getContextDetailFromMemory, getPublisherDetail, saveContextToMemory, savePublisher, validateValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPNAME_OPERATOR_NAME

public static final java.lang.String PROPNAME_OPERATOR_NAME
See Also:
Constant Field Values

PROPNAME_OPERATOR_URL

public static final java.lang.String PROPNAME_OPERATOR_URL
See Also:
Constant Field Values

PROPNAME_ADMIN_EMAIL_ADDRESS

public static final java.lang.String PROPNAME_ADMIN_EMAIL_ADDRESS
See Also:
Constant Field Values

PROPNAME_DATASOURCE_NAME

public static final java.lang.String PROPNAME_DATASOURCE_NAME
See Also:
Constant Field Values

PROPNAME_AUTH_CLASS_NAME

public static final java.lang.String PROPNAME_AUTH_CLASS_NAME
See Also:
Constant Field Values

PROPNAME_DATASTORE_CLASS_NAME

public static final java.lang.String PROPNAME_DATASTORE_CLASS_NAME
See Also:
Constant Field Values

PROPNAME_CRYPTOR_CLASS_NAME

public static final java.lang.String PROPNAME_CRYPTOR_CLASS_NAME
See Also:
Constant Field Values

PROPNAME_UUIDGEN_CLASS_NAME

public static final java.lang.String PROPNAME_UUIDGEN_CLASS_NAME
See Also:
Constant Field Values

PROPNAME_VALIDATOR_CLASS_NAME

public static final java.lang.String PROPNAME_VALIDATOR_CLASS_NAME
See Also:
Constant Field Values

PROPNAME_MONITOR_CLASS_NAME

public static final java.lang.String PROPNAME_MONITOR_CLASS_NAME
See Also:
Constant Field Values

PROPNAME_MAX_NAME_ELEMENTS

public static final java.lang.String PROPNAME_MAX_NAME_ELEMENTS
See Also:
Constant Field Values

PROPNAME_MAX_NAME_LENGTH

public static final java.lang.String PROPNAME_MAX_NAME_LENGTH
See Also:
Constant Field Values

PROPNAME_MAX_MESSAGE_SIZE

public static final java.lang.String PROPNAME_MAX_MESSAGE_SIZE
See Also:
Constant Field Values

PROPNAME_MAX_BUSINESS_ENTITIES_PER_USER

public static final java.lang.String PROPNAME_MAX_BUSINESS_ENTITIES_PER_USER
See Also:
Constant Field Values

PROPNAME_MAX_BUSINESS_SERVICES_PER_BUSINESS

public static final java.lang.String PROPNAME_MAX_BUSINESS_SERVICES_PER_BUSINESS
See Also:
Constant Field Values

PROPNAME_MAX_BINDING_TEMPLATES_PER_SERVICE

public static final java.lang.String PROPNAME_MAX_BINDING_TEMPLATES_PER_SERVICE
See Also:
Constant Field Values

PROPNAME_MAX_TMODELS_PER_USER

public static final java.lang.String PROPNAME_MAX_TMODELS_PER_USER
See Also:
Constant Field Values

PROPNAME_MAX_ROWS_LIMIT

public static final java.lang.String PROPNAME_MAX_ROWS_LIMIT
See Also:
Constant Field Values

DEFAULT_OPERATOR_NAME

public static final java.lang.String DEFAULT_OPERATOR_NAME
See Also:
Constant Field Values

DEFAULT_OPERATOR_URL

public static final java.lang.String DEFAULT_OPERATOR_URL
See Also:
Constant Field Values

DEFAULT_ADMIN_EMAIL_ADDRESS

public static final java.lang.String DEFAULT_ADMIN_EMAIL_ADDRESS
See Also:
Constant Field Values

DEFAULT_DATASOURCE_NAME

public static final java.lang.String DEFAULT_DATASOURCE_NAME
See Also:
Constant Field Values

DEFAULT_AUTH_CLASS_NAME

public static final java.lang.String DEFAULT_AUTH_CLASS_NAME
See Also:
Constant Field Values

DEFAULT_DATASTORE_CLASS_NAME

public static final java.lang.String DEFAULT_DATASTORE_CLASS_NAME
See Also:
Constant Field Values

DEFAULT_CRYPTOR_CLASS_NAME

public static final java.lang.String DEFAULT_CRYPTOR_CLASS_NAME
See Also:
Constant Field Values

DEFAULT_UUIDGEN_CLASS_NAME

public static final java.lang.String DEFAULT_UUIDGEN_CLASS_NAME
See Also:
Constant Field Values

DEFAULT_VALIDATOR_CLASS_NAME

public static final java.lang.String DEFAULT_VALIDATOR_CLASS_NAME
See Also:
Constant Field Values

DEFAULT_MONITOR_CLASS_NAME

public static final java.lang.String DEFAULT_MONITOR_CLASS_NAME
See Also:
Constant Field Values

DEFAULT_MAX_NAME_ELEMENTS

public static final int DEFAULT_MAX_NAME_ELEMENTS
See Also:
Constant Field Values

DEFAULT_MAX_NAME_LENGTH

public static final int DEFAULT_MAX_NAME_LENGTH
See Also:
Constant Field Values

DEFAULT_MAX_MESSAGE_SIZE

public static final int DEFAULT_MAX_MESSAGE_SIZE
See Also:
Constant Field Values

DEFAULT_MAX_BUSINESS_ENTITIES_PER_USER

public static final int DEFAULT_MAX_BUSINESS_ENTITIES_PER_USER
See Also:
Constant Field Values

DEFAULT_MAX_BUSINESS_SERVICES_PER_BUSINESS

public static final int DEFAULT_MAX_BUSINESS_SERVICES_PER_BUSINESS
See Also:
Constant Field Values

DEFAULT_MAX_BINDING_TEMPLATES_PER_SERVICE

public static final int DEFAULT_MAX_BINDING_TEMPLATES_PER_SERVICE
See Also:
Constant Field Values

DEFAULT_MAX_TMODELS_PER_USER

public static final int DEFAULT_MAX_TMODELS_PER_USER
See Also:
Constant Field Values

DEFAULT_MAX_ROWS_LIMIT

public static final int DEFAULT_MAX_ROWS_LIMIT
See Also:
Constant Field Values
Constructor Detail

ExpeditorRegistryEngine

public ExpeditorRegistryEngine()
Create a new instance of RegistryEngine. This constructor looks in the classpath for a file named 'juddi.properties' and uses property values in this file to initialize the new instance. Default values are used if the file does not exist or if a particular property value is not present.


ExpeditorRegistryEngine

public ExpeditorRegistryEngine(java.util.Properties props)
Creates a new instance of RegistryEngine. This constructor uses the property values passed in the Properties parameter to initialize the new RegistryProxy instance. Default values are used if the file does not exist or if a particular property value is not present.

Method Detail

init

public void init()
Initialize required resources.


dispose

public void dispose()
Releases any acquired resources. Will stop these if they are currently running.


isAvailable

public boolean isAvailable()
Returns 'true' if the registry is available to handle requests, otherwise returns 'false'.


execute

public org.apache.juddi.datatype.RegistryObject execute(org.apache.juddi.datatype.RegistryObject request)
                                                 throws org.apache.juddi.error.RegistryException
Throws:
org.apache.juddi.error.RegistryException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception