CVS: Tapestry/framework/src/net/sf/tapestry ConfigurationDefaults.properties,NONE,1.1.2.1 DefaultResourceResolver.java,1.2,1.2.2.1 TapestryStrings.properties,1.36.2.15,1.36.2.16 IEngine.java,1.11.2.2,1.11.2.3 IResourceResolver.java,1.4,1.4.2.1

Howard Lewis Ship <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/framework/src/net/sf/tapestry
In directory sc8-pr-cvs1:/tmp/cvs-serv2336/framework/src/net/sf/tapestry

Modified Files:
      Tag: hship-2-3
	DefaultResourceResolver.java TapestryStrings.properties 
	IEngine.java IResourceResolver.java 
Added Files:
      Tag: hship-2-3
	ConfigurationDefaults.properties 
Log Message:
Add support for <listener-binding>.
Use a ResourceBundle for "factory default" configuration properties.

--- NEW FILE: ConfigurationDefaults.properties ---
# $Id: ConfigurationDefaults.properties,v 1.1.2.1 2003/01/04 02:46:49 hship Exp $

net.sf.tapestry.default-script-language=jython
Index: DefaultResourceResolver.java
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/framework/src/net/sf/tapestry/DefaultResourceResolver.java,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** DefaultResourceResolver.java	27 Nov 2002 17:58:45 -0000	1.2
--- DefaultResourceResolver.java	4 Jan 2003 02:46:48 -0000	1.2.2.1
***************
*** 105,107 ****
--- 105,114 ----
      }
  
+     /** @since 2.4 **/
+     
+     public ClassLoader getClassLoader()
+     {
+         return _loader;
+     }
+ 
  }

Index: TapestryStrings.properties
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/framework/src/net/sf/tapestry/TapestryStrings.properties,v
retrieving revision 1.36.2.15
retrieving revision 1.36.2.16
diff -C2 -d -r1.36.2.15 -r1.36.2.16
*** TapestryStrings.properties	3 Jan 2003 20:54:19 -0000	1.36.2.15
--- TapestryStrings.properties	4 Jan 2003 02:46:48 -0000	1.36.2.16
***************
*** 95,98 ****
--- 95,102 ----
  ExpressionBinding.unable-to-update-expression=Unable to update expression ''{0}'' for {1} to {2}.
  
+ ListenerBinding.invalid-access=Inappropriate invocation of {0} on instance of ListenerBinding.
+ ListenerBinding.bsf-exception=Unable to execute listener script "{0}": {1}.
+ ListenerBinding.unable-to-undeclare-bean=Unable to undeclare bean ''{0}'' after executing "{0}".
+ 
  # net.sf.tapestry.callback
  
***************
*** 243,246 ****
--- 247,251 ----
  PageLoader.class-not-page=Class {0} does not implement the IPage interface.
  PageLoader.unable-to-instantiate-component=Unable to instantiate component {0}: {1}
+ PageLoader.script-location=''{0}'' listener script for component {1}
  
  # net.sf.tapestry.parse
***************
*** 378,382 ****
  AbstractDocumentParser.invalid-identifier={0} is not a valid identifier (in element {1}).
  AbstractDocumentParser.missing-resource=Resource at {0} does not exist.
- AbstractDocumentParser.unable-to-open-resource=Unable to open stream to {0}, for reading of resource {1}.
  AbstractDocumentParser.unknown-public-id=Document {0} has an unexpected public id of ''{1}''.
  
--- 383,386 ----

Index: IEngine.java
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/framework/src/net/sf/tapestry/IEngine.java,v
retrieving revision 1.11.2.2
retrieving revision 1.11.2.3
diff -C2 -d -r1.11.2.2 -r1.11.2.3
*** IEngine.java	30 Dec 2002 03:04:56 -0000	1.11.2.2
--- IEngine.java	4 Jan 2003 02:46:49 -0000	1.11.2.3
***************
*** 5,11 ****
  
  import javax.servlet.ServletException;
- import javax.servlet.http.HttpSession;
  
- import net.sf.tapestry.spec.ApplicationSpecification;
  import net.sf.tapestry.spec.IApplicationSpecification;
  import net.sf.tapestry.util.io.DataSqueezer;
--- 5,9 ----
***************
*** 13,27 ****
  
  /**
!  * Defines the core, session-persistant object used to run a Tapestry
!  * application for a single client (each client will have its own instance of the engine).
   *
!  * <p>The engine exists to provide core services to the pages and components
!  * that make up the application.  The engine is a delegate to the
!  * {@link ApplicationServlet} via the {@link #service(RequestContext)} method.
   *
!  * <p>Engine instances are persisted in the {@link HttpSession} and are serializable.
   *
!  * @author Howard Lewis Ship
!  * @version $Id$
   **/
  
--- 11,26 ----
  
  /**
!  *  Defines the core, session-persistant object used to run a Tapestry
!  *  application for a single client (each client will have its own instance of the engine).
   *
!  *  <p>The engine exists to provide core services to the pages and components
!  *  that make up the application.  The engine is a delegate to the
!  *  {@link ApplicationServlet} via the {@link #service(RequestContext)} method.
   *
!  *  <p>Engine instances are persisted in the {@link HttpSession} and are serializable.
   *
!  *  @author Howard Lewis Ship
!  *  @version $Id$
!  * 
   **/
  
***************
*** 32,35 ****
--- 31,36 ----
       *  application.
       *
+      *  @see net.sf.tapestry.engine.HomeService
+      * 
       **/
  
***************
*** 50,53 ****
--- 51,57 ----
       *  The name ("StaleLink") of the page used for reporting stale links.
       *
+      *  <p>The page must implement a writeable JavaBeans proeprty named
+      *  'message' of type <code>String</code>.
+      * 
       **/
  
***************
*** 146,150 ****
       *  any assets or servlets.  This may be the empty string, but won't be null.
       *
!      *  <p>This value is obtained from {@link javax.servlet.http.HttpServletRequest#getContextPath()}.
       **/
  
--- 150,156 ----
       *  any assets or servlets.  This may be the empty string, but won't be null.
       *
!      *  <p>This value is obtained from 
!      *  {@link javax.servlet.http.HttpServletRequest#getContextPath()}.
!      * 
       **/
  
***************
*** 163,166 ****
--- 169,174 ----
       *  The source is shared between sessions.
       *
+      *  @see net.sf.tapestry.engine.AbstractEngine#createSpecificationSource(RequestContext)
+      * 
       **/
  
***************
*** 170,173 ****
--- 178,183 ----
       *  Returns the source for HTML templates.
       *
+      *  @see  net.sf.tapestry.engine.AbstractEngine#createTemplateSource(RequestContext)
+      * 
       **/
  
***************
*** 234,242 ****
      /**
       *  Returns a source for parsed 
!      *  {@link net.sf.tapestry.IScript}s.  The source is typically
       *  shared between all sessions.
       *
       *  @since 1.0.2
       *
       **/
  
--- 244,254 ----
      /**
       *  Returns a source for parsed 
!      *  {@link net.sf.tapestry.IScript}s.  The source is 
       *  shared between all sessions.
       *
       *  @since 1.0.2
       *
+      *  @see net.sf.tapestry.engine.AbstractEngine#createScriptSource(RequestContext)
+      * 
       **/
  
***************
*** 262,265 ****
--- 274,279 ----
  	 *  @since 2.0.4
  	 * 
+      *  @see net.sf.tapestry.engine.AbstractEngine#createComponentStringsSource(RequestContext)
+      * 
  	 **/
  	
***************
*** 271,274 ****
--- 285,290 ----
       *  @since 2.2
       * 
+      *  @see net.sf.tapestry.engine.AbstractEngine#createDataSqueezer()
+      * 
       **/
      
***************
*** 312,318 ****
--- 328,337 ----
       *  <li>Initial Parameter of the servlet context (also configured in <code>web.xml</code>)
       *  <li>System properties (defined with the <code>-D</code> JVM command line parameter)
+      *  <li>Hard-coded "factory defaults" (for some properties)
       *  </ul>
       * 
       *  @since 2.3
+      *  @see net.sf.tapestry.engine.AbstractEngine#createPropertySource(RequestContext)
+      * 
       **/
      
***************
*** 327,330 ****
--- 346,350 ----
       * 
       *  @since 2.4
+      *  @see net.sf.tapestry.engine.AbstractEngine#createPool(RequestContext)
       * 
       **/

Index: IResourceResolver.java
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/framework/src/net/sf/tapestry/IResourceResolver.java,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -d -r1.4 -r1.4.2.1
*** IResourceResolver.java	27 Nov 2002 17:58:45 -0000	1.4
--- IResourceResolver.java	4 Jan 2003 02:46:49 -0000	1.4.2.1
***************
*** 41,43 ****
--- 41,53 ----
  
      public Class findClass(String name);
+     
+     /**
+      *  Returns a {@link java.lang.ClassLoader} that can see
+      *  all the classes the resolver can access.
+      * 
+      *  @since 2.4
+      * 
+      **/
+     
+     public ClassLoader getClassLoader();
  }



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.