mcconnell 2002/11/23 15:43:08
Modified: assembly/src/java/org/apache/excalibur/playground
BasicComponent.xinfo BasicComponent.xprofile
BasicContext.java
Log:
Updated to include demo of context management including use of
sugar coated interfaces derived from framework context.
Revision Changes Path
1.7 +1 -1
jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/playground/BasicComponent.xinfo
Index: BasicComponent.xinfo
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/playground/BasicComponent.xinfo,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- BasicComponent.xinfo 23 Nov 2002 13:04:32 -0000 1.6
+++ BasicComponent.xinfo 23 Nov 2002 23:43:08 -0000 1.7
@@ -19,7 +19,7 @@
<name>basic</name>
</info>
- <context>
+ <context type="BasicContextInterface">
<entry key="location"/>
<entry key="home" type="java.io.File"/>
</context>
1.3 +1 -1
jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/playground/BasicComponent.xprofile
Index: BasicComponent.xprofile
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/playground/BasicComponent.xprofile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- BasicComponent.xprofile 21 Oct 2002 14:55:36 -0000 1.2
+++ BasicComponent.xprofile 23 Nov 2002 23:43:08 -0000 1.3
@@ -22,7 +22,7 @@
<component name="basic">
<context class="org.apache.excalibur.playground.BasicContext">
<import key="home" name="avalon:home"/>
- <entry key="location">Paris</entry>
+ <entry key="location">Chez moi</entry>
</context>
</component>
1.9 +1 -1
jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/playground/BasicContext.java
Index: BasicContext.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/playground/BasicContext.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- BasicContext.java 23 Oct 2002 16:33:09 -0000 1.8
+++ BasicContext.java 23 Nov 2002 23:43:08 -0000 1.9
@@ -87,7 +87,7 @@
{
try
{
- return (String)super.get( "location" );
+ return (String) super.get( "location" );
}
catch( Throwable e )
{
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>