avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: cvs commit: jakarta-avalon-cornerstone/apps/bay/src/java/org/apache/avalon/bay/services Bay.java
Date Sun, 28 Oct 2001 19:48:34 GMT
You sure you meant this? ie why are you making Bay log itself as a database 
component ;)


On Mon, 29 Oct 2001 00:11, hammant@apache.org wrote:
> hammant     01/10/28 05:11:53
>
>   Modified:    apps/bay/src/java/org/apache/avalon/bay/blocks BayImpl.java
>                apps/bay/src/java/org/apache/avalon/bay/delegate
>                         CatalinaClassLoader.java
>                apps/bay/src/java/org/apache/avalon/bay/services Bay.java
>   Log:
>   Bay updates for new SAR regime
>
>   Revision  Changes    Path
>   1.3       +1 -1     
> jakarta-avalon-cornerstone/apps/bay/src/java/org/apache/avalon/bay/blocks/B
>ayImpl.java
>
>   Index: BayImpl.java
>   ===================================================================
>   RCS file:
> /home/cvs/jakarta-avalon-cornerstone/apps/bay/src/java/org/apache/avalon/ba
>y/blocks/BayImpl.java,v retrieving revision 1.2
>   retrieving revision 1.3
>   diff -u -r1.2 -r1.3
>   --- BayImpl.java	2001/10/26 11:33:44	1.2
>   +++ BayImpl.java	2001/10/28 13:11:53	1.3
>   @@ -81,7 +81,7 @@
>        public void compose( final ComponentManager componentManager )
>            throws ComponentException
>        {
>   -        getLogger().info("Bay.compose()");
>   +        getLogger().info("Database.compose()");
>
>        }
>
>
>
>
>   1.4       +4 -3     
> jakarta-avalon-cornerstone/apps/bay/src/java/org/apache/avalon/bay/delegate
>/CatalinaClassLoader.java
>
>   Index: CatalinaClassLoader.java
>   ===================================================================
>   RCS file:
> /home/cvs/jakarta-avalon-cornerstone/apps/bay/src/java/org/apache/avalon/ba
>y/delegate/CatalinaClassLoader.java,v retrieving revision 1.3
>   retrieving revision 1.4
>   diff -u -r1.3 -r1.4
>   --- CatalinaClassLoader.java	2001/10/26 11:34:01	1.3
>   +++ CatalinaClassLoader.java	2001/10/28 13:11:53	1.4
>   @@ -10,6 +10,7 @@
>    import java.net.URLClassLoader;
>    import java.net.URL;
>    import java.net.MalformedURLException;
>   +import java.net.URLStreamHandlerFactory;
>    import java.io.File;
>    import java.util.Vector;
>
>   @@ -19,7 +20,7 @@
>     *
>     *
>     * @author Paul Hammant <a
> href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a> - *
> @version $Revision: 1.3 $
>   + * @version $Revision: 1.4 $
>     */
>    public class CatalinaClassLoader extends URLClassLoader {
>
>   @@ -43,7 +44,7 @@
>                      System.out.println("Jar : " + jarURL);
>                    } catch (MalformedURLException mufe) {
>                        mufe.printStackTrace();
>   -                    throw new RuntimeException("Some problem building
> classpath for Bay/Catalina"); +                    throw new
> RuntimeException("Some problem building classpath for Database/Catalina");
> }
>                }
>            }
>   @@ -61,5 +62,5 @@
>            urls.copyInto(jarURLs);
>            return new CatalinaClassLoader(jarURLs);
>    	}
>   -
>   +
>    }
>
>
>
>   1.3       +1 -1     
> jakarta-avalon-cornerstone/apps/bay/src/java/org/apache/avalon/bay/services
>/Bay.java
>
>   Index: Bay.java
>   ===================================================================
>   RCS file:
> /home/cvs/jakarta-avalon-cornerstone/apps/bay/src/java/org/apache/avalon/ba
>y/services/Bay.java,v retrieving revision 1.2
>   retrieving revision 1.3
>   diff -u -r1.2 -r1.3
>   --- Bay.java	2001/09/25 10:18:55	1.2
>   +++ Bay.java	2001/10/28 13:11:53	1.3
>   @@ -16,6 +16,6 @@
>     */
>    public interface Bay
>    {
>   -    String ROLE = "org.apache.avalon.bay.services.Bay";
>   +    String ROLE = "org.apache.avalon.bay.services.Database";
>
>    }

-- 
Cheers,

Pete

"The fact that a believer is happier than a skeptic is no more to the
 point than the fact that a drunken man is happier than a sober one.
 The happiness of credulity is a cheap and dangerous quality."
        -- George Bernard Shaw

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message