You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2002/07/14 12:45:30 UTC
cvs commit: jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container AssemblyException.java AssemblyRuntimeException.java Container.java ContainerException.java ContainerRuntimeException.java
mcconnell 2002/07/14 03:45:30
Modified: assembly/src/java/org/apache/excalibur/merlin/container
AssemblyException.java
AssemblyRuntimeException.java Container.java
ContainerException.java
ContainerRuntimeException.java
Log:
javadoc updates
Revision Changes Path
1.2 +2 -2 jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/AssemblyException.java
Index: AssemblyException.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/AssemblyException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AssemblyException.java 12 Jul 2002 10:17:20 -0000 1.1
+++ AssemblyException.java 14 Jul 2002 10:45:30 -0000 1.2
@@ -14,7 +14,7 @@
import org.apache.avalon.framework.CascadingException;
/**
- * Exception to indicate that there was an error Assembling a component model.
+ * Exception to indicate that there was an error during assembly.
*
* @author <a href="mailto:mcconnell@apache.org">Stephen McConnell</a>
* @version $Revision$ $Date$
1.2 +2 -2 jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/AssemblyRuntimeException.java
Index: AssemblyRuntimeException.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/AssemblyRuntimeException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AssemblyRuntimeException.java 12 Jul 2002 10:17:20 -0000 1.1
+++ AssemblyRuntimeException.java 14 Jul 2002 10:45:30 -0000 1.2
@@ -14,7 +14,7 @@
import org.apache.avalon.framework.CascadingRuntimeException;
/**
- * Exception to indicate that there was an error during assembly.
+ * Exception to indicate that there was a runtime error during assembly.
*
* @author <a href="mailto:mcconnell@apache.org">Stephen McConnell</a>
* @version $Revision$ $Date$
1.2 +10 -10 jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/Container.java
Index: Container.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/Container.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Container.java 12 Jul 2002 19:09:26 -0000 1.1
+++ Container.java 14 Jul 2002 10:45:30 -0000 1.2
@@ -14,12 +14,19 @@
import org.apache.excalibur.merlin.Controller;
/**
- * A service that provides support for the management of a set of component types
- * and factories.
+ * A <code>Container</code> is a manager of a set of components and as such, is responsible
+ * for the establishment, deployment and decommissioning of components. A container is a
+ * a {@link Controller} and as such can handle startup and shutdown requests. On startup,
+ * a container is resoponsible for the orderly startup of the components it is managing. On
+ * shutdown the container is resposible for orderly service decommissioning. As a
+ * {@link Verifiable} object, a container is varified if all of the compoenent profiles it
+ * is managing are verifiable.
+ *
* <p><b>UML</b></p>
* <p><image src="doc-files/Container.gif" border="0"/></p>
* @author <a href="mailto:mcconnell@apache.org">Stephen McConnell</a>
* @version $Revision$ $Date$
+ * @see DefaultContainer
*/
public interface Container extends Controller, Verifiable
{
@@ -29,13 +36,6 @@
* @return the set of potential supplier profile
*/
Profile[] getProviders( ServiceDesignator service );
-
- /**
- * Test if the container is managing a supplied profile.
- * @param profile the profile
- * @return TRUE if the profile is managed by the container.
- */
- public boolean contains( Profile profile );
/**
* Get a service instance.
1.2 +2 -2 jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/ContainerException.java
Index: ContainerException.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/ContainerException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ContainerException.java 12 Jul 2002 10:17:20 -0000 1.1
+++ ContainerException.java 14 Jul 2002 10:45:30 -0000 1.2
@@ -10,7 +10,7 @@
import org.apache.avalon.framework.CascadingException;
/**
- * Exception to indicate that there was a repository related error.
+ * Exception to indicate that there was a container related error.
*
* @author <a href="mailto:mcconnell@apache.org">Stephen McConnell</a>
* @version $Revision$ $Date$
1.2 +2 -2 jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/ContainerRuntimeException.java
Index: ContainerRuntimeException.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/container/ContainerRuntimeException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ContainerRuntimeException.java 12 Jul 2002 10:17:20 -0000 1.1
+++ ContainerRuntimeException.java 14 Jul 2002 10:45:30 -0000 1.2
@@ -10,7 +10,7 @@
import org.apache.avalon.framework.CascadingRuntimeException;
/**
- * Exception to indicate that there was a repository related runtime error.
+ * Exception to indicate that there was a container related runtime error.
*
* @author <a href="mailto:mcconnell@apache.org">Stephen McConnell</a>
* @version $Revision$ $Date$
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>