Author: objectiser
Date: 2010-08-25 10:32:17 -0400 (Wed, 25 Aug 2010)
New Revision: 928
Modified:
branches/RiftSaw-2.1.x/runtime/uddi/src/main/java/org/jboss/soa/bpel/uddi/UDDIRegistrationImpl.java
trunk/runtime/uddi/src/main/java/org/jboss/soa/bpel/uddi/UDDIRegistrationImpl.java
Log:
RIFTSAW-275 - get the UDDIClerkManager based on the name from bpel.properties, rather than
hardcoded.
Modified:
branches/RiftSaw-2.1.x/runtime/uddi/src/main/java/org/jboss/soa/bpel/uddi/UDDIRegistrationImpl.java
===================================================================
---
branches/RiftSaw-2.1.x/runtime/uddi/src/main/java/org/jboss/soa/bpel/uddi/UDDIRegistrationImpl.java 2010-08-24
18:22:32 UTC (rev 927)
+++
branches/RiftSaw-2.1.x/runtime/uddi/src/main/java/org/jboss/soa/bpel/uddi/UDDIRegistrationImpl.java 2010-08-25
14:32:17 UTC (rev 928)
@@ -189,7 +189,7 @@
public void unRegisterEPR(QName service, String port) {
boolean selfRegister = false;
try {
- UDDIClerkManager clerkManager =
UDDIClientContainer.getUDDIClerkManager("esb-registry");
+ UDDIClerkManager clerkManager =
UDDIClientContainer.getUDDIClerkManager(getClerkManagerName());
selfRegister = clerkManager.getClientConfig().isRegisterOnStartup();
if (selfRegister) {
Map<String,UDDIClerk> clerks = clerkManager.getClientConfig().getUDDIClerks();
Modified:
trunk/runtime/uddi/src/main/java/org/jboss/soa/bpel/uddi/UDDIRegistrationImpl.java
===================================================================
---
trunk/runtime/uddi/src/main/java/org/jboss/soa/bpel/uddi/UDDIRegistrationImpl.java 2010-08-24
18:22:32 UTC (rev 927)
+++
trunk/runtime/uddi/src/main/java/org/jboss/soa/bpel/uddi/UDDIRegistrationImpl.java 2010-08-25
14:32:17 UTC (rev 928)
@@ -189,7 +189,7 @@
public void unRegisterEPR(QName service, String port) {
boolean selfRegister = false;
try {
- UDDIClerkManager clerkManager =
UDDIClientContainer.getUDDIClerkManager("esb-registry");
+ UDDIClerkManager clerkManager =
UDDIClientContainer.getUDDIClerkManager(getClerkManagerName());
selfRegister = clerkManager.getClientConfig().isRegisterOnStartup();
if (selfRegister) {
Map<String,UDDIClerk> clerks = clerkManager.getClientConfig().getUDDIClerks();
Show replies by date