You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by pr...@apache.org on 2003/03/17 04:41:18 UTC
cvs commit: avalon-phoenix/src/java/org/apache/avalon/phoenix/containerkit/lifecycle ResourceProvider.java
proyal 2003/03/16 19:41:18
Modified: src/java/org/apache/avalon/phoenix/containerkit/lifecycle
ResourceProvider.java
Log:
Add resources for
* creating instrument manager
* creating instrumentable name
Revision Changes Path
1.3 +22 -1 avalon-phoenix/src/java/org/apache/avalon/phoenix/containerkit/lifecycle/ResourceProvider.java
Index: ResourceProvider.java
===================================================================
RCS file: /home/cvs/avalon-phoenix/src/java/org/apache/avalon/phoenix/containerkit/lifecycle/ResourceProvider.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ResourceProvider.java 22 Feb 2003 04:03:28 -0000 1.2
+++ ResourceProvider.java 17 Mar 2003 03:41:18 -0000 1.3
@@ -13,6 +13,7 @@
import org.apache.avalon.framework.logger.Logger;
import org.apache.avalon.framework.parameters.Parameters;
import org.apache.avalon.framework.service.ServiceManager;
+import org.apache.excalibur.instrument.InstrumentManager;
/**
* The interface via which resources required for a component
@@ -94,5 +95,25 @@
* @throws Exception if unable to create resource
*/
Parameters createParameters( Object entry )
+ throws Exception;
+
+ /**
+ * Create a new InstrumentMaanger object for component.
+ *
+ * @param entry the entry
+ * @return a new InstrumentManager object for component
+ * @throws Exception if unable to create resource
+ */
+ InstrumentManager createInstrumentManager( Object entry )
+ throws Exception;
+
+ /**
+ * Create a name for this components instrumentables.
+ *
+ * @param entry the entry
+ * @return the String to use as the instrumentable name
+ * @throws Exception if unable to create resource
+ */
+ String createInstrumentableName( Object entry )
throws Exception;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org