mcconnell 2002/11/19 04:28:57
Modified: assembly/src/java/org/apache/excalibur/assembly/appliance
Appliance.java
Log:
Addition of an accessor to the underlying Profile.
Revision Changes Path
1.2 +15 -1
jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/assembly/appliance/Appliance.java
Index: Appliance.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/assembly/appliance/Appliance.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Appliance.java 18 Nov 2002 11:02:28 -0000 1.1
+++ Appliance.java 19 Nov 2002 12:28:57 -0000 1.2
@@ -59,11 +59,25 @@
import org.apache.excalibur.meta.model.Profile;
/**
+ * An appliance is a class that encapsulates the deployment criteria
+ * for a particular component together with a the state supporting
+ * compoennt assembly and dependency solutions. The function of an appliace
+ * is to server as the aggregation point for the deployment of a component
+ * and the access point for services provided by the component implemetation.
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Stephen McConnell</a>
* @version $Revision$ $Date$
*/
+
public interface Appliance
{
+ /**
+ * Return the profile backing the appliance.
+ *
+ * @return the profile that this appliance is managing
+ */
+ Profile getProfile();
+
/**
* Set the activation policy for the component. If TRUE, activation
* will occur at startup. If false, activation will be deferred to
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>