Skip to Content.
Sympa Menu

notify-dpml - r920 - in trunk/main/metro: runtime/src/main/net/dpml/metro/runtime test

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r920 - in trunk/main/metro: runtime/src/main/net/dpml/metro/runtime test
  • Date: Sat, 14 Jan 2006 21:43:26 +0100

Author: mcconnell
Date: 2006-01-14 21:43:25 +0100 (Sat, 14 Jan 2006)
New Revision: 920

Modified:

trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentController.java
trunk/main/metro/test/build.xml
Log:
replace "service:[interface-name]" with "lookup:[interface-name]"

Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentController.java
===================================================================
---
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentController.java
2006-01-14 20:42:30 UTC (rev 919)
+++
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/ComponentController.java
2006-01-14 20:43:25 UTC (rev 920)
@@ -631,7 +631,7 @@
ReferenceDirective ref = (ReferenceDirective) directive;
URI uri = ref.getURI();
String scheme = uri.getScheme();
- if( "service".equals( scheme ) )
+ if( "service".equals( scheme ) || "lookup".equals(
scheme ) )
{
String spec = uri.getSchemeSpecificPart();
ServiceDescriptor request = new ServiceDescriptor(
spec );

Modified: trunk/main/metro/test/build.xml
===================================================================
--- trunk/main/metro/test/build.xml 2006-01-14 20:42:30 UTC (rev 919)
+++ trunk/main/metro/test/build.xml 2006-01-14 20:43:25 UTC (rev 920)
@@ -240,7 +240,7 @@
</component>
<component key="listener" type="net.dpml.test.app.DefaultListener">
<context>
- <entry key="server" uri="service:net.dpml.test.app.Server"/>
+ <entry key="server" uri="lookup:net.dpml.test.app.Server"/>
</context>
</component>
</parts>




  • r920 - in trunk/main/metro: runtime/src/main/net/dpml/metro/runtime test, mcconnell at BerliOS, 01/14/2006

Archive powered by MHonArc 2.6.24.

Top of Page