CVS: plexus-components/summit/src/java/org/apache/plexus/summit/view AbstractView.java,1.1.1.1,1.2 DefaultView.java,1.1.1.1,1.2 DefaultViewContext.java,1.2,1.3 View.java,1.1.1.1,1.2 ViewContext.java,1.2,1.3 ViewNotFoundException.java,1.1.1.1,1.2
[email protected] Thu, 1 May 2003 14:28:43 -0500
| Newsgroups | gmane.comp.java.plexus.devel |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/plexus/plexus-components/summit/src/java/org/apache/plexus/summit/view
In directory eng.werken.com:/tmp/cvs-serv17379/src/java/org/apache/plexus/summit/view
Modified Files:
AbstractView.java DefaultView.java DefaultViewContext.java
View.java ViewContext.java ViewNotFoundException.java
Log Message:
o Removed the multiple View notion.
o Using a service manager instead of the components being service managers.
Index: AbstractView.java
===================================================================
RCS file: /cvsroot/plexus/plexus-components/summit/src/java/org/apache/plexus/summit/view/AbstractView.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- AbstractView.java 15 Feb 2003 03:55:57 -0000 1.1.1.1
+++ AbstractView.java 1 May 2003 19:28:40 -0000 1.2
@@ -69,20 +69,20 @@
private String name;
/** Constructor */
- public AbstractView(String name)
+ public AbstractView( String name )
{
this.name = name;
- }
+ }
/** Set the name of the view. */
- public void setName(String name)
+ public void setName( String name )
{
this.name = name;
- }
-
+ }
+
/** Get the name of the view. */
public String getName()
{
return name;
- }
+ }
}
Index: DefaultView.java
===================================================================
RCS file: /cvsroot/plexus/plexus-components/summit/src/java/org/apache/plexus/summit/view/DefaultView.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- DefaultView.java 15 Feb 2003 03:55:57 -0000 1.1.1.1
+++ DefaultView.java 1 May 2003 19:28:40 -0000 1.2
@@ -66,8 +66,8 @@
extends AbstractView
{
/** Constructor. */
- public DefaultView(String view)
+ public DefaultView( String view )
{
- super(view);
- }
+ super( view );
+ }
}
Index: DefaultViewContext.java
===================================================================
RCS file: /cvsroot/plexus/plexus-components/summit/src/java/org/apache/plexus/summit/view/DefaultViewContext.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- DefaultViewContext.java 16 Feb 2003 15:24:01 -0000 1.2
+++ DefaultViewContext.java 1 May 2003 19:28:40 -0000 1.3
@@ -81,9 +81,9 @@
* @param key The name to key the provided value with.
* @param value The corresponding value.
*/
- public void put(String key, Object value)
+ public void put( String key, Object value )
{
- context.put(key,value);
+ context.put( key, value );
}
/**
@@ -92,16 +92,16 @@
* @param key The name of the desired value.
* @return The value corresponding to the provided key.
*/
- public Object get(String key)
+ public Object get( String key )
{
- return context.get(key);
+ return context.get( key );
}
/**
* @see org.apache.plexus.summit.view.ViewContext#remove(java.lang.String)
*/
- public Object remove(String key)
+ public Object remove( String key )
{
- return context.remove(key);
+ return context.remove( key );
}
}
Index: View.java
===================================================================
RCS file: /cvsroot/plexus/plexus-components/summit/src/java/org/apache/plexus/summit/view/View.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- View.java 15 Feb 2003 03:55:57 -0000 1.1.1.1
+++ View.java 1 May 2003 19:28:40 -0000 1.2
@@ -67,8 +67,8 @@
public interface View
{
/** Set the name of the view. */
- void setName(String name);
-
+ void setName( String name );
+
/** Get the name of the view. */
String getName();
}
Index: ViewContext.java
===================================================================
RCS file: /cvsroot/plexus/plexus-components/summit/src/java/org/apache/plexus/summit/view/ViewContext.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ViewContext.java 16 Feb 2003 15:24:01 -0000 1.2
+++ ViewContext.java 1 May 2003 19:28:40 -0000 1.3
@@ -71,7 +71,7 @@
* @param key The name to key the provided value with.
* @param value The corresponding value.
*/
- public void put(String key, Object value);
+ public void put( String key, Object value );
/**
* Gets the value corresponding to the provided key from the context.
@@ -79,13 +79,13 @@
* @param key The name of the desired value.
* @return The value corresponding to the provided key.
*/
- public Object get(String key);
-
+ public Object get( String key );
+
/**
* Removes an object from the context with the provided key.
- *
+ *
* @param key The key to the value.
* @return Object The value corresponding to the provided key.
*/
- public Object remove(String key);
+ public Object remove( String key );
}
Index: ViewNotFoundException.java
===================================================================
RCS file: /cvsroot/plexus/plexus-components/summit/src/java/org/apache/plexus/summit/view/ViewNotFoundException.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- ViewNotFoundException.java 15 Feb 2003 03:55:57 -0000 1.1.1.1
+++ ViewNotFoundException.java 1 May 2003 19:28:40 -0000 1.2
@@ -71,17 +71,17 @@
/**
* @param message
*/
- public ViewNotFoundException(String message)
+ public ViewNotFoundException( String message )
{
- super(message);
+ super( message );
}
-
+
/**
* @param message
* @param throwable
*/
- public ViewNotFoundException(String message, Throwable throwable)
+ public ViewNotFoundException( String message, Throwable throwable )
{
- super(message, throwable);
+ super( message, throwable );
}
}