juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r787885 [1/4] - in /webservices/juddi/branches/v3_trunk: juddi-core/src/main/java/org/apache/juddi/ juddi-core/src/main/java/org/apache/juddi/api/impl/ juddi-core/src/main/java/org/apache/juddi/config/ juddi-core/src/main/java/org/apache/ju...
Date Wed, 24 Jun 2009 01:57:10 GMT
Author: kstam
Date: Wed Jun 24 01:57:05 2009
New Revision: 787885

URL: http://svn.apache.org/viewvc?rev=787885&view=rev
Log:
JUDDI-243 adding RMI transport. By default the JUDDI services are not registered in JNDI. All objects need to be serializable to go over RMI.

Added:
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/JNDIRegistration.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDICustodyTransferService.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDIInquiryService.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDIPublicationService.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISecurityService.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISubscriptionListenerService.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISubscriptionService.java
    webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/java/org/apache/juddi/RegistryServlet.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/transport/RMITransport.java
Removed:
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/BaseService.java
Modified:
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/Registry.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/AuthenticatedService.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/Property.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_010_PublisherTest.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_020_TmodelTest.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_030_BusinessEntityTest.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_040_BusinessServiceTest.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_050_BindingTemplateTest.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_060_PublisherAssertionTest.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_070_FindEntityTest.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_080_SubscriptionTest.java
    webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/subscription/SubscriptionNotifierTest.java
    webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/WEB-INF/classes/juddi.properties
    webservices/juddi/branches/v3_trunk/uddi-client/pom.xml
    webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/config/Property.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_010_PublisherIntegrationTest.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_020_TmodelIntegrationTest.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_030_BusinessEntityIntegrationTest.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_030_BusinessEntityLoadTest.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_040_BusinessServiceIntegrationTest.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_050_BindingTemplateIntegrationTest.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_060_PublisherAssertionIntegrationTest.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_070_FindEntityIntegrationTest.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_080_SubscriptionIntegrationTest.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_090_SubscriptionListenerIntegrationTest.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/resources/uddi.properties
    webservices/juddi/branches/v3_trunk/uddi-tck/src/main/java/org/uddi/api_v3/tck/TckSecurity.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/AccessPoint.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/AddPublisherAssertions.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/Address.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/AddressLine.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/AssertionStatusItem.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/AssertionStatusReport.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/AuthToken.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/BindingDetail.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/BindingTemplate.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/BindingTemplates.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/BusinessDetail.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/BusinessEntity.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/BusinessInfo.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/BusinessInfos.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/BusinessList.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/BusinessService.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/BusinessServices.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/CategoryBag.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/CompletionStatus.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/Contact.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/Contacts.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/DeleteBinding.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/DeleteBusiness.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/DeletePublisherAssertions.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/DeleteService.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/DeleteTModel.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/Description.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/Direction.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/DiscardAuthToken.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/DiscoveryURL.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/DiscoveryURLs.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/DispositionReport.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/Email.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/ErrInfo.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/FindBinding.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/FindBusiness.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/FindQualifiers.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/FindRelatedBusinesses.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/FindService.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/FindTModel.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/GetAssertionStatusReport.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/GetAuthToken.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/GetBindingDetail.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/GetBusinessDetail.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/GetOperationalInfo.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/GetPublisherAssertions.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/GetRegisteredInfo.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/GetServiceDetail.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/GetTModelDetail.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/HostingRedirector.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/IdentifierBag.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/InfoSelection.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/InstanceDetails.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/KeyType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/KeyedReference.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/KeyedReferenceGroup.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/KeysOwned.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/ListDescription.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/Name.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/OperationalInfo.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/OperationalInfos.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/OverviewDoc.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/OverviewURL.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/PersonName.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/Phone.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/PublisherAssertion.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/PublisherAssertions.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/PublisherAssertionsResponse.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/RegisteredInfo.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/RelatedBusinessInfo.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/RelatedBusinessInfos.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/RelatedBusinessesList.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/Result.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/SaveBinding.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/SaveBusiness.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/SaveService.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/SaveTModel.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/ServiceDetail.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/ServiceInfo.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/ServiceInfos.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/ServiceList.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/SetPublisherAssertions.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/SharedRelationships.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/TModel.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/TModelBag.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/TModelDetail.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/TModelInfo.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/TModelInfos.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/TModelInstanceDetails.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/TModelInstanceInfo.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/api_v3/TModelList.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/custody_v3/DiscardTransferToken.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/custody_v3/GetTransferToken.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/custody_v3/KeyBag.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/custody_v3/TransferEntities.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/custody_v3/TransferOperationalInfo.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/custody_v3/TransferToken.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/policy_v3/Policies.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/policy_v3/Policy.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/policy_v3/PolicyDescriptionType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/policy_v3_instanceparms/AuthInfoUseType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/policy_v3_instanceparms/FilterUsingFindAPIType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/policy_v3_instanceparms/UDDIinstanceParmsContainerType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecord.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecordAcknowledgement.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecordConditionFailed.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecordCorrection.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecordDelete.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecordDeleteAssertion.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecordHide.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecordIDType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecordNewData.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecordNewDataConditional.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecordPublisherAssertion.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ChangeRecords.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/CommunicationGraph.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/DoPing.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/FromSignatures.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/GetChangeRecords.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/GetHighWaterMarks.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/HighWaterMarkVectorType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/NotifyChangeRecordsAvailable.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/Operator.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/OperatorStatusType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ReplicationConfiguration.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/ToSignatures.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/repl_v3/TransferCustody.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/sub_v3/CoveragePeriod.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/sub_v3/DeleteSubscription.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/sub_v3/GetSubscriptionResults.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/sub_v3/GetSubscriptions.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/sub_v3/KeyBag.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/sub_v3/SaveSubscription.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/sub_v3/Subscription.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/sub_v3/SubscriptionFilter.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/sub_v3/SubscriptionResultsList.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/sub_v3/Subscriptions.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/subr_v3/NotifySubscriptionListener.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/v3_service/DispositionReportFaultMessage.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/v3_service/UDDICustodyTransferPortType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/v3_service/UDDIInquiryPortType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/v3_service/UDDIPublicationPortType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/v3_service/UDDIReplicationPortType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/v3_service/UDDISecurityPortType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/v3_service/UDDISubscriptionListenerPortType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/v3_service/UDDISubscriptionPortType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/v3_service/UDDIValueSetCachingPortType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/v3_service/UDDIValueSetValidationPortType.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/vs_v3/ValidateValues.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/vscache_v3/GetAllValidValues.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/vscache_v3/ValidValue.java
    webservices/juddi/branches/v3_trunk/uddi-ws/src/main/java/org/uddi/vscache_v3/ValidValuesList.java

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/Registry.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/Registry.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/Registry.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/Registry.java Wed Jun 24 01:57:05 2009
@@ -1,6 +1,11 @@
 package org.apache.juddi;
 
+import javax.naming.NamingException;
+
 import org.apache.commons.configuration.ConfigurationException;
+import org.apache.juddi.config.AppConfig;
+import org.apache.juddi.config.Property;
+import org.apache.juddi.rmi.JNDIRegistration;
 import org.apache.juddi.subscription.SubscriptionNotifier;
 import org.apache.log4j.Logger;
 
@@ -17,25 +22,52 @@
 	}
 	/**
 	 * Stops the registry.
+	 * @throws ConfigurationException 
 	 */
-	public static void stop() {
+	public static void stop() throws ConfigurationException {
 		if (registry!=null) {
 			log.info("Stopping jUDDI registry...");
-			subscriptionNotifier.cancel();
+			if (subscriptionNotifier!=null) {
+				log.info("Shutting down SubscriptionNotifier");
+				subscriptionNotifier.cancel();
+				subscriptionNotifier=null;
+			}
+			if (AppConfig.getConfiguration().getBoolean(Property.JUDDI_JNDI_REGISTRATION, false)) {
+				try {
+					JNDIRegistration.getInstance().unregister();
+				} catch (NamingException e) {
+					log.error("Unable to Register jUDDI services with JNDI. " + e.getMessage(), e);
+				}
+			}
 			registry=null;
+			log.info("jUDDI shutdown completed.");
 		}
 	}
 	/**
 	 * Starts the registry.
 	 * @return
 	 * @throws ConfigurationException
+	 * @throws  
 	 */
 	public static Registry start() throws ConfigurationException {
 		if (registry==null) {
-			log.info("Creating new jUDDI registry...");
+			log.info("Starting jUDDI registry...");
 			registry = new Registry();
-			subscriptionNotifier = new SubscriptionNotifier();
+			
+			if (AppConfig.getConfiguration().getBoolean(Property.JUDDI_SUBSCRIPTION_NOTIFICATION, true)) {
+				subscriptionNotifier = new SubscriptionNotifier();
+			}
+			if (AppConfig.getConfiguration().getBoolean(Property.JUDDI_JNDI_REGISTRATION, false)) {
+				try {
+					JNDIRegistration.getInstance().register();
+				} catch (NamingException e) {
+					log.error("Unable to Register jUDDI services with JNDI. " + e.getMessage(), e);
+				}
+			}
+			log.info("jUDDI registry started succesfully.");
 		}
 		return registry;
  	}
+	
 }
+

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/AuthenticatedService.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/AuthenticatedService.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/AuthenticatedService.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/AuthenticatedService.java Wed Jun 24 01:57:05 2009
@@ -31,7 +31,7 @@
 /**
  * @author <a href="mailto:jfaath@apache.org">Jeff Faath</a>
  */
-public abstract class AuthenticatedService extends BaseService {
+public abstract class AuthenticatedService {
 	public static final int AUTHTOKEN_ACTIVE = 1;
 	public static final int AUTHTOKEN_RETIRED = 0;
 	

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/Property.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/Property.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/Property.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/config/Property.java Wed Jun 24 01:57:05 2009
@@ -27,6 +27,8 @@
 	public final static String JUDDI_SUBSCRIPTION_EXPIRATION_DAYS="juddi.subscription.expiration.days";
 	public final static String JUDDI_NOTIFICATION_INTERVAL       ="juddi.notification.interval";
 	public final static String JUDDI_SUBSCRIPTION_CHUNKEXPIRATION_MINUTES="juddi.subscription.chunkexpiration.minutes";
+	public final static String JUDDI_JNDI_REGISTRATION           ="juddi.jndi.registration";
+	public final static String JUDDI_SUBSCRIPTION_NOTIFICATION   ="juddi.subscription.notification";
 	
 	public final static String DEFAULT_CRYPTOR                   ="org.apache.juddi.cryptor.DefaultCryptor";
 	public final static String DEFAULT_USERSFILE                 ="juddi-users.properties";

Added: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/JNDIRegistration.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/JNDIRegistration.java?rev=787885&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/JNDIRegistration.java (added)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/JNDIRegistration.java Wed Jun 24 01:57:05 2009
@@ -0,0 +1,141 @@
+/*
+ * Copyright 2001-2009 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.juddi.rmi;
+
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+import org.apache.log4j.Logger;
+
+/**
+ * @author Kurt Stam (kstam@apache.org)
+ */
+public class JNDIRegistration
+{
+	public static String JUDDI = "/juddi";
+	public static String UDDI_SECURITY_SERVICE    = JUDDI + "/UDDISecurityService";
+	public static String UDDI_PUBLICATION_SERVICE = JUDDI + "/UDDIPublicationService";
+	public static String UDDI_INQUIRY_SERVICE     = JUDDI + "/UDDIInquiryService";
+	public static String UDDI_SUBSCRIPTION_SERVICE = JUDDI + "/UDDISubscriptionService";
+	public static String UDDI_SUBSCRIPTION_LISTENER_SERVICE = JUDDI + "/UDDISubscriptionListenerService";
+	public static String UDDI_CUSTODY_TRANSFER_SERVICE = JUDDI + "/UDDICustodyTransferService";
+	
+	private UDDISecurityService securityService = null;
+	private UDDIPublicationService publicationService = null;
+	private UDDIInquiryService inquiryService = null;
+	private UDDISubscriptionService subscriptionService = null;
+	private UDDISubscriptionListenerService subscriptionListenerService = null;
+	private UDDICustodyTransferService custodyTransferService = null;
+	
+	private Logger log = Logger.getLogger(this.getClass());
+	InitialContext context = null;
+	private static JNDIRegistration registration = null;
+	
+	public static JNDIRegistration getInstance() throws NamingException {
+		if (registration==null) {
+			registration = new JNDIRegistration();
+		}
+		return registration;
+	}
+	
+	private JNDIRegistration() throws NamingException{
+		super();
+		context = new InitialContext(); 
+	}
+	/**
+	 * Registers the Publish and Inquiry Services to JNDI and instantiates a
+	 * instance of each so we can remotely attach to it later.
+	 */
+	public void register() {
+		try {
+			Context juddiContext = context.createSubcontext(JUDDI);
+			
+			securityService = new UDDISecurityService();
+			if (log.isDebugEnabled()) log.debug("Setting " + UDDI_SECURITY_SERVICE + ", " + securityService.getClass());
+			juddiContext.rebind(UDDI_SECURITY_SERVICE, securityService);
+			
+			publicationService = new UDDIPublicationService();
+			if (log.isDebugEnabled()) log.debug("Setting " + UDDI_PUBLICATION_SERVICE + ", " + publicationService.getClass());
+			juddiContext.rebind(UDDI_PUBLICATION_SERVICE, publicationService);
+			
+			inquiryService = new UDDIInquiryService();
+			if (log.isDebugEnabled()) log.debug("Setting " + UDDI_INQUIRY_SERVICE + ", " + inquiryService.getClass());
+			juddiContext.rebind(UDDI_INQUIRY_SERVICE, inquiryService);
+			
+			subscriptionService = new UDDISubscriptionService();
+			if (log.isDebugEnabled()) log.debug("Setting " + UDDI_SUBSCRIPTION_SERVICE + ", " + inquiryService.getClass());
+			juddiContext.rebind(UDDI_SUBSCRIPTION_SERVICE, subscriptionService);
+			
+			subscriptionListenerService = new UDDISubscriptionListenerService();
+			if (log.isDebugEnabled()) log.debug("Setting " + UDDI_SUBSCRIPTION_LISTENER_SERVICE + ", " + inquiryService.getClass());
+			juddiContext.rebind(UDDI_SUBSCRIPTION_LISTENER_SERVICE, subscriptionListenerService);
+			
+			custodyTransferService = new UDDICustodyTransferService();
+			if (log.isDebugEnabled()) log.debug("Setting " + UDDI_CUSTODY_TRANSFER_SERVICE + ", " + inquiryService.getClass());
+			juddiContext.rebind(UDDI_CUSTODY_TRANSFER_SERVICE, custodyTransferService);
+			
+		} catch (Exception e) {
+			log.error(e.getMessage(),e);
+		}
+	}
+	
+	public void unregister() {
+		
+		try {
+			context.unbind(UDDI_SECURITY_SERVICE);
+		} catch (NamingException e) {
+			log.error(e.getMessage(),e);
+		}
+		securityService = null;
+		try {
+			context.unbind(UDDI_PUBLICATION_SERVICE);
+		} catch (NamingException e) {
+			log.error(e.getMessage(),e);
+		}
+		publicationService = null;
+		try {
+			context.unbind(UDDI_INQUIRY_SERVICE);
+		} catch (NamingException e) {
+			log.error(e.getMessage(),e);
+		}
+		inquiryService = null;
+		try {
+			context.unbind(UDDI_SUBSCRIPTION_SERVICE);
+		} catch (NamingException e) {
+			log.error(e.getMessage(),e);
+		}
+		subscriptionService = null;
+		try {
+			context.unbind(UDDI_SUBSCRIPTION_LISTENER_SERVICE);
+		} catch (NamingException e) {
+			log.error(e.getMessage(),e);
+		}
+		subscriptionListenerService = null;
+		try {
+			context.unbind(UDDI_CUSTODY_TRANSFER_SERVICE);
+		} catch (NamingException e) {
+			log.error(e.getMessage(),e);
+		}
+		custodyTransferService = null;
+		try {
+			context.destroySubcontext(JUDDI);
+		} catch (NamingException e) {
+			log.error(e.getMessage(),e);
+		}
+		
+	}
+}

Added: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDICustodyTransferService.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDICustodyTransferService.java?rev=787885&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDICustodyTransferService.java (added)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDICustodyTransferService.java Wed Jun 24 01:57:05 2009
@@ -0,0 +1,66 @@
+/*
+ * Copyright 2001-2009 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.juddi.rmi;
+
+import java.rmi.RemoteException;
+import java.rmi.server.UnicastRemoteObject;
+
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.ws.Holder;
+
+import org.apache.juddi.api.impl.UDDICustodyTransferImpl;
+import org.uddi.custody_v3.DiscardTransferToken;
+import org.uddi.custody_v3.KeyBag;
+import org.uddi.custody_v3.TransferEntities;
+import org.uddi.v3_service.DispositionReportFaultMessage;
+import org.uddi.v3_service.UDDICustodyTransferPortType;
+
+/**
+ * UDDISecurityPortType wrapper so it can be exposed as a service over RMI.
+ * 
+ * @author <a href="mailto:kstam@apache.org">Kurt T Stam</a>
+ *
+ */
+public class UDDICustodyTransferService extends UnicastRemoteObject implements UDDICustodyTransferPortType {
+
+	private static final long serialVersionUID = 1L;
+	private UDDICustodyTransferPortType custodyTransfer = new UDDICustodyTransferImpl();
+	
+	protected UDDICustodyTransferService() throws RemoteException {
+		super();
+	}
+
+	public void discardTransferToken(DiscardTransferToken body)
+			throws DispositionReportFaultMessage, RemoteException {
+		custodyTransfer.discardTransferToken(body);
+	}
+
+	public void getTransferToken(String authInfo, KeyBag keyBag,
+			Holder<String> nodeID, Holder<XMLGregorianCalendar> expirationTime,
+			Holder<byte[]> opaqueToken) throws DispositionReportFaultMessage,
+			RemoteException {
+		custodyTransfer.getTransferToken(authInfo, keyBag, nodeID, expirationTime, opaqueToken);
+	}
+
+	public void transferEntities(TransferEntities body)
+			throws DispositionReportFaultMessage, RemoteException {
+		custodyTransfer.transferEntities(body);
+	}
+	
+	
+
+}

Added: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDIInquiryService.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDIInquiryService.java?rev=787885&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDIInquiryService.java (added)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDIInquiryService.java Wed Jun 24 01:57:05 2009
@@ -0,0 +1,108 @@
+/*
+ * Copyright 2001-2009 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.juddi.rmi;
+
+import java.rmi.RemoteException;
+import java.rmi.server.UnicastRemoteObject;
+
+import org.apache.juddi.api.impl.UDDIInquiryImpl;
+import org.uddi.api_v3.BindingDetail;
+import org.uddi.api_v3.BusinessDetail;
+import org.uddi.api_v3.BusinessList;
+import org.uddi.api_v3.FindBinding;
+import org.uddi.api_v3.FindBusiness;
+import org.uddi.api_v3.FindRelatedBusinesses;
+import org.uddi.api_v3.FindService;
+import org.uddi.api_v3.FindTModel;
+import org.uddi.api_v3.GetBindingDetail;
+import org.uddi.api_v3.GetBusinessDetail;
+import org.uddi.api_v3.GetOperationalInfo;
+import org.uddi.api_v3.GetServiceDetail;
+import org.uddi.api_v3.GetTModelDetail;
+import org.uddi.api_v3.OperationalInfos;
+import org.uddi.api_v3.RelatedBusinessesList;
+import org.uddi.api_v3.ServiceDetail;
+import org.uddi.api_v3.ServiceList;
+import org.uddi.api_v3.TModelDetail;
+import org.uddi.api_v3.TModelList;
+import org.uddi.v3_service.UDDIInquiryPortType;
+/**
+ * UDDIInquiryPortType wrapper so it can be exposed as a service over RMI.
+ * 
+ * @author <a href="mailto:kstam@apache.org">Kurt T Stam</a>
+ *
+ */
+public class UDDIInquiryService extends UnicastRemoteObject implements UDDIInquiryPortType {
+
+	private static final long serialVersionUID = 1L;
+	private UDDIInquiryImpl inquiry = new UDDIInquiryImpl();
+
+	protected UDDIInquiryService() throws RemoteException {
+		super();
+	}
+
+	public BindingDetail findBinding(FindBinding body)
+			throws RemoteException {
+		return inquiry.findBinding(body);
+	}
+
+	public BusinessList findBusiness(FindBusiness body)
+			throws RemoteException {
+		return inquiry.findBusiness(body);
+	}
+
+	public RelatedBusinessesList findRelatedBusinesses(
+			FindRelatedBusinesses body) throws RemoteException {
+		return inquiry.findRelatedBusinesses(body);
+	}
+
+	public ServiceList findService(FindService body)
+			throws RemoteException {
+		return inquiry.findService(body);
+	}
+
+	public TModelList findTModel(FindTModel body)
+			throws RemoteException {
+		return inquiry.findTModel(body);
+	}
+
+	public BindingDetail getBindingDetail(GetBindingDetail body)
+			throws RemoteException {
+		return inquiry.getBindingDetail(body);
+	}
+
+	public BusinessDetail getBusinessDetail(GetBusinessDetail body)
+			throws RemoteException {
+		return inquiry.getBusinessDetail(body);
+	}
+
+	public OperationalInfos getOperationalInfo(GetOperationalInfo body)
+			throws RemoteException {
+		return inquiry.getOperationalInfo(body);
+	}
+
+	public ServiceDetail getServiceDetail(GetServiceDetail body)
+			throws RemoteException {
+		return inquiry.getServiceDetail(body);
+	}
+
+	public TModelDetail getTModelDetail(GetTModelDetail body)
+			throws RemoteException {
+		return inquiry.getTModelDetail(body);
+	}
+
+}

Added: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDIPublicationService.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDIPublicationService.java?rev=787885&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDIPublicationService.java (added)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDIPublicationService.java Wed Jun 24 01:57:05 2009
@@ -0,0 +1,133 @@
+/*
+ * Copyright 2001-2009 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.juddi.rmi;
+
+import java.rmi.RemoteException;
+import java.rmi.server.UnicastRemoteObject;
+import java.util.List;
+
+import javax.xml.ws.Holder;
+
+import org.apache.juddi.api.impl.UDDIPublicationImpl;
+import org.uddi.api_v3.AddPublisherAssertions;
+import org.uddi.api_v3.AssertionStatusItem;
+import org.uddi.api_v3.BindingDetail;
+import org.uddi.api_v3.BusinessDetail;
+import org.uddi.api_v3.CompletionStatus;
+import org.uddi.api_v3.DeleteBinding;
+import org.uddi.api_v3.DeleteBusiness;
+import org.uddi.api_v3.DeletePublisherAssertions;
+import org.uddi.api_v3.DeleteService;
+import org.uddi.api_v3.DeleteTModel;
+import org.uddi.api_v3.GetRegisteredInfo;
+import org.uddi.api_v3.PublisherAssertion;
+import org.uddi.api_v3.RegisteredInfo;
+import org.uddi.api_v3.SaveBinding;
+import org.uddi.api_v3.SaveBusiness;
+import org.uddi.api_v3.SaveService;
+import org.uddi.api_v3.SaveTModel;
+import org.uddi.api_v3.ServiceDetail;
+import org.uddi.api_v3.TModelDetail;
+import org.uddi.v3_service.UDDIPublicationPortType;
+/**
+ * UDDIPublicationPortType wrapper so it can be exposed as a service over RMI.
+ * 
+ * @author <a href="mailto:kstam@apache.org">Kurt T Stam</a>
+ *
+ */
+public class UDDIPublicationService extends UnicastRemoteObject implements UDDIPublicationPortType {
+
+	private static final long serialVersionUID = 1L;
+	private UDDIPublicationPortType publication = new UDDIPublicationImpl();
+	
+	protected UDDIPublicationService() throws RemoteException {
+		super();
+	}
+
+	public void addPublisherAssertions(AddPublisherAssertions body)
+			throws RemoteException {
+		publication.addPublisherAssertions(body);
+	}
+
+	public void deleteBinding(DeleteBinding body)
+			throws RemoteException {
+		publication.deleteBinding(body);
+	}
+
+	public void deleteBusiness(DeleteBusiness body)
+			throws RemoteException {
+		publication.deleteBusiness(body);
+	}
+
+	public void deletePublisherAssertions(DeletePublisherAssertions body)
+			throws RemoteException {
+		publication.deletePublisherAssertions(body);
+	}
+
+	public void deleteService(DeleteService body)
+			throws RemoteException {
+		publication.deleteService(body);
+	}
+
+	public void deleteTModel(DeleteTModel body)
+			throws RemoteException {
+		publication.deleteTModel(body);
+	}
+
+	public List<AssertionStatusItem> getAssertionStatusReport(String authInfo,
+			CompletionStatus completionStatus)
+			throws RemoteException {
+		return publication.getAssertionStatusReport(authInfo, completionStatus);
+	}
+
+	public List<PublisherAssertion> getPublisherAssertions(String authInfo)
+			throws RemoteException {
+		return publication.getPublisherAssertions(authInfo);
+	}
+
+	public RegisteredInfo getRegisteredInfo(GetRegisteredInfo body)
+			throws RemoteException {
+		return publication.getRegisteredInfo(body);
+	}
+
+	public BindingDetail saveBinding(SaveBinding body)
+			throws RemoteException {
+		return publication.saveBinding(body);
+	}
+
+	public BusinessDetail saveBusiness(SaveBusiness body)
+			throws RemoteException {
+		return publication.saveBusiness(body);
+	}
+
+	public ServiceDetail saveService(SaveService body)
+			throws RemoteException {
+		return publication.saveService(body);
+	}
+
+	public TModelDetail saveTModel(SaveTModel body)
+			throws RemoteException {
+		return publication.saveTModel(body);
+	}
+
+	public void setPublisherAssertions(String authInfo,
+			Holder<List<PublisherAssertion>> publisherAssertion)
+			throws RemoteException {
+		publication.setPublisherAssertions(authInfo, publisherAssertion);
+	}
+
+}

Added: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISecurityService.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISecurityService.java?rev=787885&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISecurityService.java (added)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISecurityService.java Wed Jun 24 01:57:05 2009
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2001-2009 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.juddi.rmi;
+
+import java.rmi.RemoteException;
+import java.rmi.server.UnicastRemoteObject;
+
+import org.apache.juddi.api.impl.UDDISecurityImpl;
+import org.uddi.api_v3.AuthToken;
+import org.uddi.api_v3.DiscardAuthToken;
+import org.uddi.api_v3.GetAuthToken;
+import org.uddi.v3_service.UDDISecurityPortType;
+
+/**
+ * UDDISecurityPortType wrapper so it can be exposed as a service over RMI.
+ * 
+ * @author <a href="mailto:kstam@apache.org">Kurt T Stam</a>
+ *
+ */
+public class UDDISecurityService extends UnicastRemoteObject implements UDDISecurityPortType {
+
+	private static final long serialVersionUID = 1L;
+	private UDDISecurityPortType security = new UDDISecurityImpl();
+	
+	protected UDDISecurityService() throws RemoteException {
+		super();
+	}
+	
+	public void discardAuthToken(DiscardAuthToken body)
+			throws RemoteException {
+			security.discardAuthToken(body);
+	}
+
+	public AuthToken getAuthToken(GetAuthToken body)
+			throws RemoteException {
+			return security.getAuthToken(body);
+	}
+
+}

Added: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISubscriptionListenerService.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISubscriptionListenerService.java?rev=787885&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISubscriptionListenerService.java (added)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISubscriptionListenerService.java Wed Jun 24 01:57:05 2009
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2001-2009 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.juddi.rmi;
+
+import java.rmi.RemoteException;
+import java.rmi.server.UnicastRemoteObject;
+
+import org.apache.juddi.api.impl.UDDISubscriptionListenerImpl;
+import org.uddi.api_v3.DispositionReport;
+import org.uddi.subr_v3.NotifySubscriptionListener;
+import org.uddi.v3_service.DispositionReportFaultMessage;
+import org.uddi.v3_service.UDDISubscriptionListenerPortType;
+
+/**
+ * UDDISecurityPortType wrapper so it can be exposed as a service over RMI.
+ * 
+ * @author <a href="mailto:kstam@apache.org">Kurt T Stam</a>
+ *
+ */
+public class UDDISubscriptionListenerService extends UnicastRemoteObject implements UDDISubscriptionListenerPortType {
+
+	private static final long serialVersionUID = 1L;
+	private UDDISubscriptionListenerPortType subscriptionListener = new UDDISubscriptionListenerImpl();
+	
+	protected UDDISubscriptionListenerService() throws RemoteException {
+		super();
+	}
+
+	public DispositionReport notifySubscriptionListener(
+			NotifySubscriptionListener body)
+			throws DispositionReportFaultMessage, RemoteException {
+		return subscriptionListener.notifySubscriptionListener(body);
+	}
+
+}

Added: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISubscriptionService.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISubscriptionService.java?rev=787885&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISubscriptionService.java (added)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/rmi/UDDISubscriptionService.java Wed Jun 24 01:57:05 2009
@@ -0,0 +1,71 @@
+/*
+ * Copyright 2001-2009 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.juddi.rmi;
+
+import java.rmi.RemoteException;
+import java.rmi.server.UnicastRemoteObject;
+import java.util.List;
+
+import javax.xml.ws.Holder;
+
+import org.apache.juddi.api.impl.UDDISubscriptionImpl;
+import org.uddi.sub_v3.DeleteSubscription;
+import org.uddi.sub_v3.GetSubscriptionResults;
+import org.uddi.sub_v3.Subscription;
+import org.uddi.sub_v3.SubscriptionResultsList;
+import org.uddi.v3_service.DispositionReportFaultMessage;
+import org.uddi.v3_service.UDDISubscriptionPortType;
+
+/**
+ * UDDISecurityPortType wrapper so it can be exposed as a service over RMI.
+ * 
+ * @author <a href="mailto:kstam@apache.org">Kurt T Stam</a>
+ *
+ */
+public class UDDISubscriptionService extends UnicastRemoteObject implements UDDISubscriptionPortType {
+
+	private static final long serialVersionUID = 1L;
+	private UDDISubscriptionPortType subscription = new UDDISubscriptionImpl();
+	
+	protected UDDISubscriptionService() throws RemoteException {
+		super();
+	}
+
+	public void deleteSubscription(DeleteSubscription body)
+			throws DispositionReportFaultMessage, RemoteException {
+		subscription.deleteSubscription(body);
+	}
+
+	public SubscriptionResultsList getSubscriptionResults(
+			GetSubscriptionResults body) throws DispositionReportFaultMessage,
+			RemoteException {
+		return subscription.getSubscriptionResults(body);
+	}
+
+	public List<Subscription> getSubscriptions(String authInfo)
+			throws DispositionReportFaultMessage, RemoteException {
+		return subscription.getSubscriptions(authInfo);
+	}
+
+	public void saveSubscription(String authInfo,
+			Holder<List<Subscription>> subscription)
+			throws DispositionReportFaultMessage, RemoteException {
+		this.saveSubscription(authInfo, subscription);
+		
+	}
+
+}

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_010_PublisherTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_010_PublisherTest.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_010_PublisherTest.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_010_PublisherTest.java Wed Jun 24 01:57:05 2009
@@ -16,8 +16,11 @@
 
 import static junit.framework.Assert.assertEquals;
 
+import java.rmi.RemoteException;
 import java.util.List;
 
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.juddi.Registry;
 import org.apache.juddi.api.datatype.DeletePublisher;
 import org.apache.juddi.api.datatype.GetPublisherDetail;
 import org.apache.juddi.api.datatype.Publisher;
@@ -26,7 +29,9 @@
 import org.apache.juddi.config.Constants;
 import org.apache.juddi.error.InvalidKeyPassedException;
 import org.apache.log4j.Logger;
+import org.junit.AfterClass;
 import org.junit.Assert;
+import org.junit.BeforeClass;
 import org.junit.Test;
 import org.uddi.api_v3.tck.EntityCreator;
 import org.uddi.api_v3.tck.TckPublisher;
@@ -49,6 +54,16 @@
 	private UDDISecurityPortType security = new UDDISecurityImpl();
 	private static String authInfo = null;
 	
+	@BeforeClass
+	public static void startRegistry() throws ConfigurationException {
+		Registry.start();
+	}
+	
+	@AfterClass
+	public static void stopRegistry() throws ConfigurationException {
+		Registry.stop();
+	}
+	
 	@Test
 	public void testJoePublisher() {
 		//We can only test this if the publisher is not there already.
@@ -192,11 +207,11 @@
 		}
 	}
 	
-	protected String authInfoJoe() throws DispositionReportFaultMessage {
+	protected String authInfoJoe() throws RemoteException, DispositionReportFaultMessage {
 		return TckSecurity.getAuthToken(security, TckPublisher.JOE_PUBLISHER_ID, TckPublisher.JOE_PUBLISHER_CRED);
 	}
 	
-	protected String authInfoSam() throws DispositionReportFaultMessage {
+	protected String authInfoSam() throws RemoteException,  DispositionReportFaultMessage {
 		return TckSecurity.getAuthToken(security, TckPublisher.SAM_SYNDICATOR_ID, TckPublisher.SAM_SYNDICATOR_CRED);
 	}
 	

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_020_TmodelTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_020_TmodelTest.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_020_TmodelTest.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_020_TmodelTest.java Wed Jun 24 01:57:05 2009
@@ -14,7 +14,12 @@
  */
 package org.apache.juddi.api.impl;
 
+import java.rmi.RemoteException;
+
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.juddi.Registry;
 import org.apache.log4j.Logger;
+import org.junit.AfterClass;
 import org.junit.Assert;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -37,7 +42,8 @@
 	private static String authInfoSam                 = null;
 	
 	@BeforeClass
-	public static void setup() {
+	public static void setup() throws ConfigurationException, RemoteException {
+		Registry.start();
 		logger.debug("Getting auth tokens..");
 		try {
 			api010.saveJoePublisher();
@@ -51,6 +57,11 @@
 		}
 	}
 	
+	@AfterClass
+	public static void stopRegistry() throws ConfigurationException {
+		Registry.stop();
+	}
+	
 	@Test
 	public void testJoePublisherTmodel() {
 		tckTModel.saveJoePublisherTmodel(authInfoJoe);

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_030_BusinessEntityTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_030_BusinessEntityTest.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_030_BusinessEntityTest.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_030_BusinessEntityTest.java Wed Jun 24 01:57:05 2009
@@ -14,7 +14,12 @@
  */
 package org.apache.juddi.api.impl;
 
+import java.rmi.RemoteException;
+
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.juddi.Registry;
 import org.apache.log4j.Logger;
+import org.junit.AfterClass;
 import org.junit.Assert;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -22,7 +27,6 @@
 import org.uddi.api_v3.tck.TckPublisher;
 import org.uddi.api_v3.tck.TckSecurity;
 import org.uddi.api_v3.tck.TckTModel;
-import org.uddi.v3_service.DispositionReportFaultMessage;
 import org.uddi.v3_service.UDDISecurityPortType;
 
 /**
@@ -40,7 +44,8 @@
 	private static String authInfoSam           = null;
 	
 	@BeforeClass
-	public static void setup() {
+	public static void setup() throws ConfigurationException {
+		Registry.start();
 		logger.debug("Getting auth token..");
 		try {
 			api010.saveJoePublisher();
@@ -48,12 +53,17 @@
 			UDDISecurityPortType security      = new UDDISecurityImpl();
 			authInfoJoe = TckSecurity.getAuthToken(security, TckPublisher.JOE_PUBLISHER_ID,  TckPublisher.JOE_PUBLISHER_CRED);
 			authInfoSam = TckSecurity.getAuthToken(security, TckPublisher.SAM_SYNDICATOR_ID,  TckPublisher.SAM_SYNDICATOR_CRED);
-		} catch (DispositionReportFaultMessage e) {
+		} catch (RemoteException e) {
 			logger.error(e.getMessage(), e);
 			Assert.fail("Could not obtain authInfo token.");
 		}
 	}
 	
+	@AfterClass
+	public static void stopRegistry() throws ConfigurationException {
+		Registry.stop();
+	}
+	
 	@Test
 	public void testJoePublisherBusinessEntity() {
 		try {

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_040_BusinessServiceTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_040_BusinessServiceTest.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_040_BusinessServiceTest.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_040_BusinessServiceTest.java Wed Jun 24 01:57:05 2009
@@ -14,7 +14,12 @@
  */
 package org.apache.juddi.api.impl;
 
+import java.rmi.RemoteException;
+
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.juddi.Registry;
 import org.apache.log4j.Logger;
+import org.junit.AfterClass;
 import org.junit.Assert;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -23,7 +28,6 @@
 import org.uddi.api_v3.tck.TckPublisher;
 import org.uddi.api_v3.tck.TckSecurity;
 import org.uddi.api_v3.tck.TckTModel;
-import org.uddi.v3_service.DispositionReportFaultMessage;
 import org.uddi.v3_service.UDDISecurityPortType;
 
 /**
@@ -44,7 +48,8 @@
 	private static String authInfoSam                = null;
 	
 	@BeforeClass
-	public static void setup() {
+	public static void setup() throws ConfigurationException {
+		Registry.start();
 		logger.debug("Getting auth tokens..");
 		try {
 			api010.saveJoePublisher();
@@ -52,11 +57,16 @@
 			UDDISecurityPortType security      = new UDDISecurityImpl();
 			authInfoJoe = TckSecurity.getAuthToken(security, TckPublisher.JOE_PUBLISHER_ID,  TckPublisher.JOE_PUBLISHER_CRED);
 			authInfoSam = TckSecurity.getAuthToken(security, TckPublisher.SAM_SYNDICATOR_ID,  TckPublisher.SAM_SYNDICATOR_CRED);
-		} catch (DispositionReportFaultMessage e) {
+		} catch (RemoteException e) {
 			logger.error(e.getMessage(), e);
 			Assert.fail("Could not obtain authInfo token.");
 		}
 	}
+
+	@AfterClass
+	public static void stopRegistry() throws ConfigurationException {
+		Registry.stop();
+	}
 	
 	@Test
 	public void joepublisher() {

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_050_BindingTemplateTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_050_BindingTemplateTest.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_050_BindingTemplateTest.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_050_BindingTemplateTest.java Wed Jun 24 01:57:05 2009
@@ -14,7 +14,12 @@
  */
 package org.apache.juddi.api.impl;
 
+import java.rmi.RemoteException;
+
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.juddi.Registry;
 import org.apache.log4j.Logger;
+import org.junit.AfterClass;
 import org.junit.Assert;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -24,7 +29,6 @@
 import org.uddi.api_v3.tck.TckPublisher;
 import org.uddi.api_v3.tck.TckSecurity;
 import org.uddi.api_v3.tck.TckTModel;
-import org.uddi.v3_service.DispositionReportFaultMessage;
 
 /**
  * @author <a href="mailto:jfaath@apache.org">Jeff Faath</a>
@@ -45,16 +49,22 @@
 	private static String authInfoJoe                 = null;
 	
 	@BeforeClass
-	public static void setup() {
+	public static void setup() throws ConfigurationException {
+		Registry.start();
 		logger.debug("Getting auth token..");
 		try {
 			api010.saveJoePublisher();
 			authInfoJoe = TckSecurity.getAuthToken(new UDDISecurityImpl(), TckPublisher.JOE_PUBLISHER_ID,  TckPublisher.JOE_PUBLISHER_CRED);
-		} catch (DispositionReportFaultMessage e) {
+		} catch (RemoteException e) {
 			logger.error(e.getMessage(), e);
 			Assert.fail("Could not obtain authInfo token.");
 		}
 	}
+
+	@AfterClass
+	public static void stopRegistry() throws ConfigurationException {
+		Registry.stop();
+	}
 	
 	@Test
 	public void joepublisher() {

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_060_PublisherAssertionTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_060_PublisherAssertionTest.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_060_PublisherAssertionTest.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_060_PublisherAssertionTest.java Wed Jun 24 01:57:05 2009
@@ -18,7 +18,12 @@
  * @author <a href="mailto:jfaath@apache.org">Jeff Faath</a>
  * @author <a href="mailto:kstam@apache.org">Kurt T Stam</a>
  */
+import java.rmi.RemoteException;
+
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.juddi.Registry;
 import org.apache.log4j.Logger;
+import org.junit.AfterClass;
 import org.junit.Assert;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -27,7 +32,6 @@
 import org.uddi.api_v3.tck.TckPublisherAssertion;
 import org.uddi.api_v3.tck.TckSecurity;
 import org.uddi.api_v3.tck.TckTModel;
-import org.uddi.v3_service.DispositionReportFaultMessage;
 import org.uddi.v3_service.UDDISecurityPortType;
 
 public class API_060_PublisherAssertionTest {
@@ -42,7 +46,8 @@
 	private static String authInfoSam                 = null;
 	
 	@BeforeClass
-	public static void setup() {
+	public static void setup() throws ConfigurationException {
+		Registry.start();
 		logger.debug("Getting auth token..");
 		try {
 			api010.saveJoePublisher();
@@ -50,11 +55,16 @@
 			UDDISecurityPortType security      = new UDDISecurityImpl();
 			authInfoJoe = TckSecurity.getAuthToken(security, TckPublisher.JOE_PUBLISHER_ID,  TckPublisher.JOE_PUBLISHER_CRED);
 			authInfoSam = TckSecurity.getAuthToken(security, TckPublisher.SAM_SYNDICATOR_ID,  TckPublisher.SAM_SYNDICATOR_CRED);
-		} catch (DispositionReportFaultMessage e) {
+		} catch (RemoteException e) {
 			logger.error(e.getMessage(), e);
 			Assert.fail("Could not obtain authInfo token.");
 		}
 	}
+
+	@AfterClass
+	public static void stopRegistry() throws ConfigurationException {
+		Registry.stop();
+	}
 	
 	@Test
 	public void testJoepublisherToSamSyndicator() {

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_070_FindEntityTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_070_FindEntityTest.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_070_FindEntityTest.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_070_FindEntityTest.java Wed Jun 24 01:57:05 2009
@@ -14,7 +14,12 @@
  */
 package org.apache.juddi.api.impl;
 
+import java.rmi.RemoteException;
+
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.juddi.Registry;
 import org.apache.log4j.Logger;
+import org.junit.AfterClass;
 import org.junit.Assert;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -25,7 +30,6 @@
 import org.uddi.api_v3.tck.TckPublisher;
 import org.uddi.api_v3.tck.TckSecurity;
 import org.uddi.api_v3.tck.TckTModel;
-import org.uddi.v3_service.DispositionReportFaultMessage;
 
 /**
  * @author <a href="mailto:jfaath@apache.org">Jeff Faath</a>
@@ -46,16 +50,22 @@
 	private static String authInfoJoe                 = null;
 	
 	@BeforeClass
-	public static void setup() {
+	public static void setup() throws ConfigurationException {
+		Registry.start();
 		logger.debug("Getting auth token..");
 		try {
 			api010.saveJoePublisher();
 			authInfoJoe = TckSecurity.getAuthToken(new UDDISecurityImpl(), TckPublisher.JOE_PUBLISHER_ID,  TckPublisher.JOE_PUBLISHER_CRED);
-		} catch (DispositionReportFaultMessage e) {
+		} catch (RemoteException e) {
 			logger.error(e.getMessage(), e);
 			Assert.fail("Could not obtain authInfo token.");
 		}
 	}
+
+	@AfterClass
+	public static void stopRegistry() throws ConfigurationException {
+		Registry.stop();
+	}
 	
 	@Test
 	public void findEntities() {

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_080_SubscriptionTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_080_SubscriptionTest.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_080_SubscriptionTest.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/api/impl/API_080_SubscriptionTest.java Wed Jun 24 01:57:05 2009
@@ -14,7 +14,12 @@
  */
 package org.apache.juddi.api.impl;
 
+import java.rmi.RemoteException;
+
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.juddi.Registry;
 import org.apache.log4j.Logger;
+import org.junit.AfterClass;
 import org.junit.Assert;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -25,7 +30,6 @@
 import org.uddi.api_v3.tck.TckSecurity;
 import org.uddi.api_v3.tck.TckSubscription;
 import org.uddi.api_v3.tck.TckTModel;
-import org.uddi.v3_service.DispositionReportFaultMessage;
 
 /**
  * @author <a href="mailto:jfaath@apache.org">Jeff Faath</a>
@@ -46,7 +50,8 @@
 	private static String authInfoSam = null;
 	
 	@BeforeClass
-	public static void setup() {
+	public static void setup() throws ConfigurationException {
+		Registry.start();
 		logger.debug("Getting auth token..");
 		try {
 			api010.saveJoePublisher();
@@ -55,12 +60,16 @@
 			api010.saveSamSyndicator();
 			authInfoSam = TckSecurity.getAuthToken(new UDDISecurityImpl(), TckPublisher.SAM_SYNDICATOR_ID,  TckPublisher.SAM_SYNDICATOR_CRED);
 
-		} catch (DispositionReportFaultMessage e) {
+		} catch (RemoteException e) {
 			logger.error(e.getMessage(), e);
 			Assert.fail("Could not obtain authInfo token.");
 		}
 	}
 
+	@AfterClass
+	public static void stopRegistry() throws ConfigurationException {
+		Registry.stop();
+	}
 	
 	@Test
 	public void joePublisher() {

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/subscription/SubscriptionNotifierTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/subscription/SubscriptionNotifierTest.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/subscription/SubscriptionNotifierTest.java (original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/test/java/org/apache/juddi/subscription/SubscriptionNotifierTest.java Wed Jun 24 01:57:05 2009
@@ -15,6 +15,7 @@
 package org.apache.juddi.subscription;
 
 import java.net.MalformedURLException;
+import java.rmi.RemoteException;
 import java.util.Collection;
 
 import javax.xml.datatype.DatatypeConfigurationException;
@@ -71,7 +72,7 @@
 			tckBindingTemplate.saveJoePublisherBinding(authInfoJoe);
 			tckSubscription.saveJoePublisherSubscription(authInfoJoe);
 			tckSubscription.getJoePublisherSubscriptionResults(authInfoJoe);
-		} catch (DispositionReportFaultMessage e) {
+		} catch (RemoteException e) {
 			logger.error(e.getMessage(), e);
 			Assert.fail("Could not obtain authInfo token.");
 		}

Added: webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/java/org/apache/juddi/RegistryServlet.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/java/org/apache/juddi/RegistryServlet.java?rev=787885&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/java/org/apache/juddi/RegistryServlet.java (added)
+++ webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/java/org/apache/juddi/RegistryServlet.java Wed Jun 24 01:57:05 2009
@@ -0,0 +1,61 @@
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.juddi;
+
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.log4j.Logger;
+
+/**
+ * This servlet is ONLY used to initialize the jUDDI webapp on startup and
+ * cleanup the jUDDI webapp on shutdown.
+ * 
+ * @author Steve Viens (sviens@apache.org)
+ */
+public class RegistryServlet extends HttpServlet {
+	private static final long serialVersionUID = 1L;
+	private static Logger logger = Logger.getLogger(RegistryServlet.class);
+
+	/**
+	 * Create the shared instance of jUDDI's Registry class and call it's
+	 * "init()" method to initialize all core components.
+	 */
+	@Override
+	public void init(ServletConfig config) throws ServletException {
+		super.init(config);
+		try {
+			Registry.start();
+		} catch (ConfigurationException e) {
+			logger.error("jUDDI registry could not be started."
+					+ e.getMessage(), e);
+		}
+	}
+	
+	@Override
+	public void destroy() {
+		try {
+			Registry.stop();
+		} catch (ConfigurationException e) {
+			logger.error("jUDDI registry could not be stopped."
+					+ e.getMessage(), e);
+		}
+		super.destroy();
+	}
+
+}
\ No newline at end of file

Modified: webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/WEB-INF/classes/juddi.properties
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/WEB-INF/classes/juddi.properties?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/WEB-INF/classes/juddi.properties (original)
+++ webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/WEB-INF/classes/juddi.properties Wed Jun 24 01:57:05 2009
@@ -74,4 +74,9 @@
 juddi.server.name=localhost
 juddi.server.port=8080
 
+#only used by RMITransport
+#juddi.proxy.factory.initial     =org.jnp.interfaces.NamingContextFactory
+#juddi.proxy.provider.url        =jnp://localhost:1099
+#juddi.proxy.factory.url.pkg     =org.jboss.naming
+
 

Modified: webservices/juddi/branches/v3_trunk/uddi-client/pom.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/uddi-client/pom.xml?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/uddi-client/pom.xml (original)
+++ webservices/juddi/branches/v3_trunk/uddi-client/pom.xml Wed Jun 24 01:57:05 2009
@@ -38,6 +38,11 @@
 			<url>http://download.java.net/maven/1</url>
 			<layout>legacy</layout>
 		</repository>
+		<repository>
+			<id>jboss</id>
+			<name>JBoss Maven 1Repository (legacy)</name>
+			<url>http://repository.jboss.com/maven2/</url>
+		</repository>
 	</repositories>
 	<pluginRepositories>
 		<pluginRepository>
@@ -91,6 +96,12 @@
 			<type>zip</type>
 			<scope>test</scope>
 		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>jbossall-client</artifactId>
+			<version>4.2.2.GA</version>
+			<scope>test</scope>
+		</dependency>
 	</dependencies>
 	<build>
 		<plugins>

Modified: webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/config/Property.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/config/Property.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/config/Property.java (original)
+++ webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/config/Property.java Wed Jun 24 01:57:05 2009
@@ -27,9 +27,9 @@
 	public final static String UDDI_PROXY_TRANSPORT             ="uddi.proxy.transport";
 	public final static String UDDI_CUSTODY_TRANSFER_URL       ="uddi.custodytransfer.url";
 	
-	public final static String UDDI_PROXY_FACTORY_INITIAL       ="uddi.proxy.factory.initial";
-	public final static String UDDI_PROXY_PROVIDER_URL          ="uddi.proxy.provider.url";
-	public final static String UDDI_PROXY_FACTORY_URL_PKS       ="uddi.proxy.factory.url.pkg";
+	public final static String UDDI_PROXY_FACTORY_INITIAL       ="java.naming.factory.initial";
+	public final static String UDDI_PROXY_PROVIDER_URL          ="java.naming.provider.url";
+	public final static String UDDI_PROXY_FACTORY_URL_PKS       ="java.naming.factory.url.pkgs";
 
 	public final static String DEFAULT_UDDI_PROXY_TRANSPORT     ="org.uddi.api_v3.client.transport.JAXWSTransport";
 }

Added: webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/transport/RMITransport.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/transport/RMITransport.java?rev=787885&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/transport/RMITransport.java (added)
+++ webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/transport/RMITransport.java Wed Jun 24 01:57:05 2009
@@ -0,0 +1,158 @@
+/*
+ * Copyright 2001-2009 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.uddi.api_v3.client.transport;
+
+import java.net.URI;
+import java.util.Properties;
+
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.log4j.Logger;
+import org.uddi.api_v3.client.config.ClientConfig;
+import org.uddi.api_v3.client.config.Property;
+import org.uddi.v3_service.UDDICustodyTransferPortType;
+import org.uddi.v3_service.UDDIInquiryPortType;
+import org.uddi.v3_service.UDDIPublicationPortType;
+import org.uddi.v3_service.UDDISecurityPortType;
+import org.uddi.v3_service.UDDISubscriptionListenerPortType;
+import org.uddi.v3_service.UDDISubscriptionPortType;
+
+
+public class RMITransport implements Transport {
+
+	InitialContext context = null;
+	private Logger logger = Logger.getLogger(this.getClass());
+	
+	public RMITransport() throws NamingException, ConfigurationException {
+		super();
+		Properties env = new Properties();
+		String factoryInitial = ClientConfig.getConfiguration().getString(Property.UDDI_PROXY_FACTORY_INITIAL);
+		String factoryURLPkgs = ClientConfig.getConfiguration().getString(Property.UDDI_PROXY_FACTORY_URL_PKS);
+		String factoryNamingProvider = ClientConfig.getConfiguration().getString(Property.UDDI_PROXY_PROVIDER_URL);
+        if (factoryInitial!=null && factoryInitial!="") env.setProperty(Property.UDDI_PROXY_FACTORY_INITIAL, factoryInitial);
+        if (factoryURLPkgs!=null && factoryURLPkgs!="") env.setProperty(Property.UDDI_PROXY_FACTORY_URL_PKS, factoryURLPkgs);
+        if (factoryNamingProvider!=null && factoryNamingProvider!="") env.setProperty(Property.UDDI_PROXY_PROVIDER_URL, factoryNamingProvider);
+    	logger.debug("Initial Context using env=" + env.toString());
+    	context = new InitialContext(env);
+	}
+
+	UDDIInquiryPortType inquiryService = null;
+	UDDISecurityPortType securityService = null;
+	UDDIPublicationPortType publishService = null;
+	UDDISubscriptionPortType subscriptionService = null;
+	UDDISubscriptionListenerPortType subscriptionListenerService = null;
+	UDDICustodyTransferPortType custodyTransferService = null;
+
+	public UDDIInquiryPortType getInquiryService() throws TransportException {
+		if (inquiryService==null) {
+			try {
+				String endpointURL = ClientConfig.getConfiguration().getString(Property.UDDI_INQUIRY_URL);
+				URI endpointURI = new URI(endpointURL);
+		    	String service    = endpointURI.getPath();
+		    	logger.debug("Looking up service=" + service);
+		    	Object requestHandler = context.lookup(service);
+		    	inquiryService = (UDDIInquiryPortType) requestHandler;
+			} catch (Exception e) {
+				throw new TransportException(e.getMessage(), e);
+			}
+		}
+		return inquiryService;
+	}
+	
+	public UDDISecurityPortType getSecurityService() throws TransportException {
+		if (securityService==null) {
+			try {
+				String endpointURL = ClientConfig.getConfiguration().getString(Property.UDDI_SECURITY_URL);
+				URI endpointURI = new URI(endpointURL);
+		    	String service    = endpointURI.getPath();
+		    	logger.debug("Looking up service=" + service);
+		    	Object requestHandler = context.lookup(service);
+				securityService = (UDDISecurityPortType) requestHandler;
+			} catch (Exception e) {
+				throw new TransportException(e.getMessage(), e);
+			}
+		}
+		return securityService;
+	}
+	
+	public UDDIPublicationPortType getPublishService() throws TransportException {
+		if (publishService==null) {
+			try {
+				String endpointURL = ClientConfig.getConfiguration().getString(Property.UDDI_PUBLISH_URL);
+				URI endpointURI = new URI(endpointURL);
+		    	String service    = endpointURI.getPath();
+		    	logger.debug("Looking up service=" + service);
+		    	Object requestHandler = context.lookup(service);
+				publishService = (UDDIPublicationPortType) requestHandler;
+			} catch (Exception e) {
+				throw new TransportException(e.getMessage(), e);
+			}
+		}
+		return publishService;
+	}
+	
+	public UDDISubscriptionPortType getSubscriptionService() throws TransportException {
+		if (subscriptionService==null) {
+			try {
+				String endpointURL = ClientConfig.getConfiguration().getString(Property.UDDI_SUBSCRIPTION_URL);
+				URI endpointURI = new URI(endpointURL);
+		    	String service    = endpointURI.getPath();
+		    	logger.debug("Looking up service=" + service);
+		    	Object requestHandler = context.lookup(service);
+		    	subscriptionService = (UDDISubscriptionPortType) requestHandler;
+			} catch (Exception e) {
+				throw new TransportException(e.getMessage(), e);
+			}
+		}
+		return subscriptionService;
+	}
+	
+	public UDDISubscriptionListenerPortType getSubscriptionListenerService() throws TransportException {
+		if (subscriptionListenerService==null) {
+			try {
+				String endpointURL = ClientConfig.getConfiguration().getString(Property.UDDI_SUBSCRIPTION_LISTENER_URL);
+				URI endpointURI = new URI(endpointURL);
+		    	String service    = endpointURI.getPath();
+		    	logger.debug("Looking up service=" + service);
+		    	Object requestHandler = context.lookup(service);
+		    	subscriptionListenerService = (UDDISubscriptionListenerPortType)  requestHandler;
+			} catch (Exception e) {
+				throw new TransportException(e.getMessage(), e);
+			}
+		}
+		return subscriptionListenerService;
+	}
+	
+	public UDDICustodyTransferPortType getCustodyTransferService() throws TransportException {
+		if (custodyTransferService==null) {
+			try {
+				String endpointURL = ClientConfig.getConfiguration().getString(Property.UDDI_CUSTODY_TRANSFER_URL);
+				URI endpointURI = new URI(endpointURL);
+		    	String service    = endpointURI.getPath();
+		    	logger.debug("Looking up service=" + service);
+		    	Object requestHandler = context.lookup(service);
+		    	custodyTransferService = (UDDICustodyTransferPortType)  requestHandler;
+			} catch (Exception e) {
+				throw new TransportException(e.getMessage(), e);
+			}
+		}
+		return custodyTransferService;
+	}
+
+}

Modified: webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_010_PublisherIntegrationTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_010_PublisherIntegrationTest.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_010_PublisherIntegrationTest.java (original)
+++ webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_010_PublisherIntegrationTest.java Wed Jun 24 01:57:05 2009
@@ -14,13 +14,18 @@
  */
 package org.apache.juddi.client;
 
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.juddi.Registry;
 import org.apache.log4j.helpers.Loader;
+import org.junit.AfterClass;
 import org.junit.Assert;
+import org.junit.BeforeClass;
 import org.junit.Test;
 import org.uddi.api_v3.AuthToken;
 import org.uddi.api_v3.GetAuthToken;
 import org.uddi.api_v3.client.config.ClientConfig;
 import org.uddi.api_v3.client.config.Property;
+import org.uddi.api_v3.client.transport.InVMTransport;
 import org.uddi.api_v3.client.transport.Transport;
 import org.uddi.v3_service.UDDISecurityPortType;
 
@@ -29,6 +34,22 @@
  */
 public class UDDI_010_PublisherIntegrationTest {
 	
+	@BeforeClass
+	public static void startRegistry() throws ConfigurationException {
+		String clazz = ClientConfig.getConfiguration().getString(Property.UDDI_PROXY_TRANSPORT,Property.DEFAULT_UDDI_PROXY_TRANSPORT);
+		if (InVMTransport.class.getName().equals(clazz)) {
+			Registry.start();
+		}
+	}
+	
+	@AfterClass
+	public static void stopRegistry() throws ConfigurationException {
+		String clazz = ClientConfig.getConfiguration().getString(Property.UDDI_PROXY_TRANSPORT,Property.DEFAULT_UDDI_PROXY_TRANSPORT);
+		if (InVMTransport.class.getName().equals(clazz)) {
+			Registry.stop();
+		}
+	}
+	
      @Test
      public void testAuthToken() {
 	     try {

Modified: webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_020_TmodelIntegrationTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_020_TmodelIntegrationTest.java?rev=787885&r1=787884&r2=787885&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_020_TmodelIntegrationTest.java (original)
+++ webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/UDDI_020_TmodelIntegrationTest.java Wed Jun 24 01:57:05 2009
@@ -14,13 +14,17 @@
  */
 package org.apache.juddi.client;
 
+import org.apache.commons.configuration.ConfigurationException;
+import org.apache.juddi.Registry;
 import org.apache.log4j.Logger;
 import org.apache.log4j.helpers.Loader;
+import org.junit.AfterClass;
 import org.junit.Assert;
 import org.junit.BeforeClass;
 import org.junit.Test;
 import org.uddi.api_v3.client.config.ClientConfig;
 import org.uddi.api_v3.client.config.Property;
+import org.uddi.api_v3.client.transport.InVMTransport;
 import org.uddi.api_v3.client.transport.Transport;
 import org.uddi.api_v3.tck.TckPublisher;
 import org.uddi.api_v3.tck.TckSecurity;
@@ -42,10 +46,13 @@
 	private static String authInfoSam                 = null;
 	
 	@BeforeClass
-	public static void setup() {
+	public static void setup() throws ConfigurationException {
+		String clazz = ClientConfig.getConfiguration().getString(Property.UDDI_PROXY_TRANSPORT,Property.DEFAULT_UDDI_PROXY_TRANSPORT);
+		if (InVMTransport.class.getName().equals(clazz)) {
+			Registry.start();
+		}
 		logger.debug("Getting auth tokens..");
 		try {
-	    	 String clazz = ClientConfig.getConfiguration().getString(Property.UDDI_PROXY_TRANSPORT,Property.DEFAULT_UDDI_PROXY_TRANSPORT);
 	         Class<?> transportClass = Loader.loadClass(clazz);
 	         if (transportClass!=null) {
 	        	 Transport transport = (Transport) transportClass.newInstance();
@@ -68,6 +75,14 @@
 	     } 
 	}
 	
+	@AfterClass
+	public static void stopRegistry() throws ConfigurationException {
+		String clazz = ClientConfig.getConfiguration().getString(Property.UDDI_PROXY_TRANSPORT,Property.DEFAULT_UDDI_PROXY_TRANSPORT);
+		if (InVMTransport.class.getName().equals(clazz)) {
+			Registry.stop();
+		}
+	}
+	
 	@Test
 	public void testJoePublisherTmodel() {
 		tckTModel.saveJoePublisherTmodel(authInfoJoe);



---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org


Mime
View raw message