sgoeschl 2005/04/26 05:30:08
Modified: yaafi/src/java/org/apache/fulcrum/yaafi/framework/container
ServiceContainer.java
Log:
Allow to retrieve the Avalon paramters
Revision Changes Path
1.5 +8 -2
jakarta-turbine-fulcrum/yaafi/src/java/org/apache/fulcrum/yaafi/framework/container/ServiceContainer.java
Index: ServiceContainer.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-fulcrum/yaafi/src/java/org/apache/fulcrum/yaafi/framework/container/ServiceContainer.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ServiceContainer.java 1 Mar 2005 10:44:20 -0000 1.4
+++ ServiceContainer.java 26 Apr 2005 12:30:08 -0000 1.5
@@ -22,6 +22,8 @@
import org.apache.avalon.framework.configuration.Reconfigurable;
import org.apache.avalon.framework.context.Contextualizable;
import org.apache.avalon.framework.logger.LogEnabled;
+import org.apache.avalon.framework.parameters.Parameterizable;
+import org.apache.avalon.framework.parameters.Parameters;
import org.apache.avalon.framework.service.ServiceManager;
/**
@@ -31,8 +33,12 @@
*/
public interface ServiceContainer
- extends LogEnabled, Contextualizable, Initializable, Reconfigurable,
Disposable,
+ extends LogEnabled, Contextualizable, Parameterizable, Initializable,
Reconfigurable, Disposable,
ServiceManager, ServiceLifecycleManager
{
- // nothing to export
+ /**
+ * Return the Avalon parameters loaded by the Avalon service container
+ * @return the Avalon paramters
+ */
+ Parameters getParameters();
}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]