notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r945 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r945 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime
- Date: Sun, 22 Jan 2006 06:34:13 +0100
Author: mcconnell
Date: 2006-01-22 06:34:08 +0100 (Sun, 22 Jan 2006)
New Revision: 945
Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/CompositionController.java
Log:
housekeeping
Modified:
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/CompositionController.java
===================================================================
---
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/CompositionController.java
2006-01-22 04:17:50 UTC (rev 944)
+++
trunk/main/metro/runtime/src/main/net/dpml/metro/runtime/CompositionController.java
2006-01-22 05:34:08 UTC (rev 945)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005 Stephen J. McConnell
+ * Copyright (c) 2005-2006 Stephen J. McConnell
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -89,7 +89,7 @@
throws ControlException
{
super();
-
+
m_context = context;
m_logger = new StandardLogger( context.getLogger() );
m_loader = Transit.getInstance().getRepository();
@@ -305,45 +305,6 @@
}
}
- /*
- public Object getContent( URLConnection connection, Class[] classes )
throws IOException
- {
- URL url = connection.getURL();
- try
- {
- if( classes.length == 0 )
- {
- return loadPart( url );
- }
- else
- {
- for( int i=0; i<classes.length; i++ )
- {
- Class c = classes[i];
- if( Part.class.isAssignableFrom( c ) )
- {
- return loadPart( url );
- }
- else if( URI.class.isAssignableFrom( c ) )
- {
- Part part = loadPart( url );
- return part.getPartHandlerURI();
- }
- }
- }
- return null;
- }
- catch( Throwable e )
- {
- final String error =
- "Internal error whuile attempting to establish content for: "
+ url;
- IOException cause = new IOException( error );
- cause.initCause( e );
- throw cause;
- }
- }
- */
-
private Controller resolveController( URI uri ) throws
ControllerNotFoundException
{
if( getURI().equals( uri ) )
- r945 - trunk/main/metro/runtime/src/main/net/dpml/metro/runtime, mcconnell at BerliOS, 01/22/2006
Archive powered by MHonArc 2.6.24.