cgl.fthpis.registry
Class FTHPISRegistryEngine

java.lang.Object
  extended bycgl.fthpis.AbstractRegistry
      extended bycgl.fthpis.registry.FTHPISRegistryEngine
All Implemented Interfaces:
IRegistry

public class FTHPISRegistryEngine
extends AbstractRegistry

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

Field Summary
 
Fields inherited from interface cgl.fthpis.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
FTHPISRegistryEngine()
          Create a new instance of RegistryEngine.
FTHPISRegistryEngine(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.fthpis.AbstractRegistry
deleteAttribute, deleteContext, deleteFTHPISService, deletePublisher, deleteService, deleteSession, discardAuthToken, findContext, findFTHPISService, findFTHPISService, findFTHPISService, findPublisher, findService, findService, findService, findServiceAttribute, findSession, getAttributeDetail, getAuthToken, getAuthTokenForWSContext, getContextDetail, getFTHPISServiceDetail, getFTHPISServiceDetail, getPublisherDetail, getServiceDetail, getServiceDetail, getSessionDetail, getSessionDetail, saveAttribute, saveContext, saveFTHPISService, savePublisher, saveService, saveSession, validateValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FTHPISRegistryEngine

public FTHPISRegistryEngine()
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.


FTHPISRegistryEngine

public FTHPISRegistryEngine(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