CVS: Tapestry/framework/src/net/sf/tapestry TapestryStrings.properties,1.36.2.6,1.36.2.7 RequestContext.java,1.18.2.2,1.18.2.3
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-serv32418/framework/src/net/sf/tapestry
Modified Files:
Tag: hship-2-3
TapestryStrings.properties RequestContext.java
Log Message:
Require a IMonitor instance for each request.
Provide a shared null IMonitor implementation.
Allow a monitor to be specified as an application extension.
Add ability to check type of extension.
Index: TapestryStrings.properties
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/framework/src/net/sf/tapestry/TapestryStrings.properties,v
retrieving revision 1.36.2.6
retrieving revision 1.36.2.7
diff -C2 -d -r1.36.2.6 -r1.36.2.7
*** TapestryStrings.properties 15 Dec 2002 16:26:12 -0000 1.36.2.6
--- TapestryStrings.properties 16 Dec 2002 12:56:35 -0000 1.36.2.7
***************
*** 315,318 ****
--- 315,320 ----
LibrarySpecification.duplicate-extension-name=An extension named ''{0}'' already exists in this namespace.
LibrarySpecification.no-such-extension=No extension named ''{0}'' exists in this namespace.
+ LibrarySpecification.extension-does-not-implement-interface=Extension ''{0}'' (class {1}) does not implement interface {2}.
+ LibrarySpecification.extension-not-a-subclass=Extension ''{0}'' (class {1}) does not inherit from class {2}.
ComponentSpecification.duplicate-asset={0}: already contains asset ''{1}''.
Index: RequestContext.java
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/framework/src/net/sf/tapestry/RequestContext.java,v
retrieving revision 1.18.2.2
retrieving revision 1.18.2.3
diff -C2 -d -r1.18.2.2 -r1.18.2.3
*** RequestContext.java 15 Dec 2002 16:26:12 -0000 1.18.2.2
--- RequestContext.java 16 Dec 2002 12:56:36 -0000 1.18.2.3
***************
*** 302,306 ****
decoder = new DefaultRequestDecoder();
else
! decoder = (IRequestDecoder) spec.getExtension(REQUEST_DECODER_EXTENSION_NAME);
_decodedRequest = decoder.decodeRequest(_request);
--- 302,306 ----
decoder = new DefaultRequestDecoder();
else
! decoder = (IRequestDecoder) spec.getExtension(REQUEST_DECODER_EXTENSION_NAME, IRequestDecoder.class);
_decodedRequest = decoder.decodeRequest(_request);
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/