notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2409 - in development/main/metro: classic/unit/src/main/net/dpml/metro/unit service/api/src/main/net/dpml/service
- From: peter AT neubauer.se
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2409 - in development/main/metro: classic/unit/src/main/net/dpml/metro/unit service/api/src/main/net/dpml/service
- Date: Mon, 25 Apr 2005 21:48:28 -0400
Author: peter AT neubauer.se
Date: Mon Apr 25 21:48:23 2005
New Revision: 2409
Modified:
development/main/metro/classic/unit/src/main/net/dpml/metro/unit/TestServiceManager.java
development/main/metro/service/api/src/main/net/dpml/service/ServiceException.java
Log:
some more utility functions and more verbose toString
Modified:
development/main/metro/classic/unit/src/main/net/dpml/metro/unit/TestServiceManager.java
==============================================================================
---
development/main/metro/classic/unit/src/main/net/dpml/metro/unit/TestServiceManager.java
(original)
+++
development/main/metro/classic/unit/src/main/net/dpml/metro/unit/TestServiceManager.java
Mon Apr 25 21:48:23 2005
@@ -41,6 +41,15 @@
{
m_dependencies = new HashMap( dependencies );
}
+ /**
+ * put one more dependency into the manager
+ * @param key the service key
+ * @param value the dependecy instance
+ */
+ public void put(String key, Object value)
+ {
+ m_dependencies.put(key, value);
+ }
/**
* Get the <code>Object</code> associated with the given key.
Modified:
development/main/metro/service/api/src/main/net/dpml/service/ServiceException.java
==============================================================================
---
development/main/metro/service/api/src/main/net/dpml/service/ServiceException.java
(original)
+++
development/main/metro/service/api/src/main/net/dpml/service/ServiceException.java
Mon Apr 25 21:48:23 2005
@@ -69,4 +69,9 @@
{
return m_cause;
}
+
+ public String toString()
+ {
+ return super.toString() + " ,key='" + m_key + "'";
+ }
}
- svn commit: r2409 - in development/main/metro: classic/unit/src/main/net/dpml/metro/unit service/api/src/main/net/dpml/service, peter, 04/25/2005
Archive powered by MHonArc 2.6.24.