CVS: plexus-components/summit/src/java/org/apache/plexus/summit/module AbstractModule.java,1.2,1.3 Module.java,1.2,1.3 ModuleNotFoundException.java,1.1.1.1,1.2

[email protected] Thu, 1 May 2003 14:28:42 -0500
Newsgroups gmane.comp.java.plexus.devel
Message-ID <[email protected]>
Update of /cvsroot/plexus/plexus-components/summit/src/java/org/apache/plexus/summit/module
In directory eng.werken.com:/tmp/cvs-serv17379/src/java/org/apache/plexus/summit/module

Modified Files:
	AbstractModule.java Module.java ModuleNotFoundException.java 
Log Message:
o Removed the multiple View notion.
o Using a service manager instead of the components being service managers.


Index: AbstractModule.java
===================================================================
RCS file: /cvsroot/plexus/plexus-components/summit/src/java/org/apache/plexus/summit/module/AbstractModule.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- AbstractModule.java	1 Mar 2003 22:24:29 -0000	1.2
+++ AbstractModule.java	1 May 2003 19:28:39 -0000	1.3
@@ -77,10 +77,10 @@
      * @param data Summit information.
      * @exception Exception a generic exception.
      */
-    public void execute(RunData data)
+    public void execute( RunData data )
         throws Exception
     {
-        build(data, (ViewContext) data.getMap().get(SummitConstants.VIEW_CONTEXT));
+        build( data, (ViewContext) data.getMap().get( SummitConstants.VIEW_CONTEXT ) );
     }
 
     /**
@@ -93,17 +93,17 @@
      * @param context The context associated with this view which is
      * expected to be populated by this method.
      * @exception Exception If there is an error populating the
-     * context. 
+     * context.
      * */
-    protected abstract void build(RunData data, ViewContext context)
+    protected abstract void build( RunData data, ViewContext context )
         throws Exception;
-    
+
     /**
      * @see org.apache.plexus.summit.module.Module#setTarget(RunData,String)
      */
-    public void setTarget(RunData data, String target)
+    public void setTarget( RunData data, String target )
     {
-        data.setTarget(target);
+        data.setTarget( target );
     }
 
     /**

Index: Module.java
===================================================================
RCS file: /cvsroot/plexus/plexus-components/summit/src/java/org/apache/plexus/summit/module/Module.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Module.java	1 Mar 2003 22:24:29 -0000	1.2
+++ Module.java	1 May 2003 19:28:39 -0000	1.3
@@ -74,7 +74,7 @@
      * @param data Summit information.
      * @exception Exception a generic exception.
      */
-    void execute(RunData data) throws Exception;
+    void execute( RunData data ) throws Exception;
 
     /**
      * This method is used when you want to short circuit a Screen and
@@ -87,5 +87,5 @@
      * @param data Summit information.
      * @param target The name of the target view.
      */
-    void setTarget(RunData data, String target);
+    void setTarget( RunData data, String target );
 }

Index: ModuleNotFoundException.java
===================================================================
RCS file: /cvsroot/plexus/plexus-components/summit/src/java/org/apache/plexus/summit/module/ModuleNotFoundException.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- ModuleNotFoundException.java	15 Feb 2003 03:55:48 -0000	1.1.1.1
+++ ModuleNotFoundException.java	1 May 2003 19:28:39 -0000	1.2
@@ -68,17 +68,17 @@
     /**
      * @param message
      */
-    public ModuleNotFoundException(String message)
+    public ModuleNotFoundException( String message )
     {
-        super(message);
+        super( message );
     }
-    
+
     /**
      * @param message
      * @param throwable
      */
-    public ModuleNotFoundException(String message, Throwable throwable)
+    public ModuleNotFoundException( String message, Throwable throwable )
     {
-        super(message, throwable);
+        super( message, throwable );
     }
 }