mcconnell 2004/02/22 12:52:59
Modified: merlin/platform/tutorials/dynamics/src/java/tutorial
HelloFacility.java
Log:
Update the tutorial to actually invoke an opertion on the widget and gizmo so we
trigger actual instantiation.
Revision Changes Path
1.5 +3 -1
avalon/merlin/platform/tutorials/dynamics/src/java/tutorial/HelloFacility.java
Index: HelloFacility.java
===================================================================
RCS file:
/home/cvs/avalon/merlin/platform/tutorials/dynamics/src/java/tutorial/HelloFacility.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- HelloFacility.java 22 Feb 2004 17:39:46 -0000 1.4
+++ HelloFacility.java 22 Feb 2004 20:52:59 -0000 1.5
@@ -113,6 +113,7 @@
getLogger().info( "commissioning the widget model" );
model.commission();
Widget widget = (Widget) model.resolve();
+ getLogger().info( "got the widget: " + widget );
getLogger().info( "releasing the widget" );
model.release( widget );
@@ -140,6 +141,7 @@
getLogger().info( "recommissioning the widget model" );
model.commission();
widget = (Widget) model.resolve();
+ getLogger().info( "got the updated widget: " + widget );
model.release( widget );
model.decommission();
@@ -164,7 +166,7 @@
new File( System.getProperty( "user.dir" ) ) );
model.commission();
Gizmo gizmo = (Gizmo) model.resolve();
-
+ getLogger().info( "got gizmo: " + gizmo );
}
//---------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]