donaldp 02/05/20 03:32:11
Modified: src/java/org/apache/avalon/phoenix/interfaces
Application.java
Log:
Add some javadocs.
Revision Changes Path
1.10 +18 -0
jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/interfaces/Application.java
Index: Application.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/interfaces/Application.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Application.java 18 May 2002 09:00:50 -0000 1.9
+++ Application.java 20 May 2002 10:32:10 -0000 1.10
@@ -19,11 +19,29 @@
*/
public interface Application
{
+ /** Role String for interface */
String ROLE = Application.class.getName();
+ /**
+ * Set the context in which the Application is "executed".
+ *
+ * @param context the applications context
+ */
void setApplicationContext( ApplicationContext context );
+ /**
+ * Retrieve names of Blocks contained in application.
+ *
+ * @return
+ */
String[] getBlockNames();
+ /**
+ * Retrieve Block with specified name.
+ * If no such block exists a null will be returned.
+ *
+ * @param name the name of block to retrieve
+ * @return the coresponding block or null if none
+ */
Object getBlock( String name );
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>