You can subscribe to this list here.
| 2003 |
Jan
|
Feb
(55) |
Mar
(100) |
Apr
(203) |
May
(330) |
Jun
(190) |
Jul
(302) |
Aug
(323) |
Sep
(197) |
Oct
(245) |
Nov
(490) |
Dec
(330) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(194) |
Feb
(400) |
Mar
(416) |
Apr
(415) |
May
(359) |
Jun
(381) |
Jul
(491) |
Aug
(311) |
Sep
(291) |
Oct
(273) |
Nov
(355) |
Dec
(266) |
| 2005 |
Jan
(306) |
Feb
(303) |
Mar
(520) |
Apr
(346) |
May
(255) |
Jun
(221) |
Jul
(171) |
Aug
(247) |
Sep
(147) |
Oct
(125) |
Nov
(165) |
Dec
(65) |
| 2006 |
Jan
(90) |
Feb
(53) |
Mar
(121) |
Apr
(103) |
May
(113) |
Jun
(103) |
Jul
(104) |
Aug
(67) |
Sep
(78) |
Oct
(82) |
Nov
(78) |
Dec
(70) |
| 2007 |
Jan
(77) |
Feb
(76) |
Mar
(63) |
Apr
(30) |
May
(47) |
Jun
(41) |
Jul
(44) |
Aug
(44) |
Sep
(49) |
Oct
(33) |
Nov
(25) |
Dec
(21) |
| 2008 |
Jan
(45) |
Feb
(13) |
Mar
(15) |
Apr
(12) |
May
(9) |
Jun
(33) |
Jul
(30) |
Aug
(7) |
Sep
(20) |
Oct
(17) |
Nov
(20) |
Dec
(10) |
| 2009 |
Jan
(8) |
Feb
(5) |
Mar
(12) |
Apr
(17) |
May
(19) |
Jun
(97) |
Jul
(77) |
Aug
(33) |
Sep
(24) |
Oct
(41) |
Nov
(16) |
Dec
(32) |
| 2010 |
Jan
(24) |
Feb
(14) |
Mar
(50) |
Apr
(71) |
May
(70) |
Jun
(64) |
Jul
(45) |
Aug
(62) |
Sep
(32) |
Oct
(4) |
Nov
(12) |
Dec
(2) |
| 2011 |
Jan
(1) |
Feb
(3) |
Mar
(4) |
Apr
(3) |
May
(6) |
Jun
(1) |
Jul
(4) |
Aug
(3) |
Sep
(4) |
Oct
(6) |
Nov
(3) |
Dec
(3) |
| 2012 |
Jan
(4) |
Feb
(8) |
Mar
(6) |
Apr
(10) |
May
(2) |
Jun
(3) |
Jul
(11) |
Aug
(10) |
Sep
(4) |
Oct
|
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
(9) |
Apr
(1) |
May
(8) |
Jun
(2) |
Jul
(5) |
Aug
(2) |
Sep
|
Oct
(3) |
Nov
(10) |
Dec
(8) |
| 2014 |
Jan
(3) |
Feb
(12) |
Mar
(9) |
Apr
(12) |
May
(2) |
Jun
|
Jul
(3) |
Aug
(1) |
Sep
(1) |
Oct
(4) |
Nov
|
Dec
(2) |
| 2015 |
Jan
(1) |
Feb
(3) |
Mar
(4) |
Apr
(9) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(7) |
Oct
(9) |
Nov
(7) |
Dec
(9) |
| 2016 |
Jan
(7) |
Feb
(5) |
Mar
(5) |
Apr
(5) |
May
(8) |
Jun
(4) |
Jul
(5) |
Aug
(4) |
Sep
(6) |
Oct
(7) |
Nov
(2) |
Dec
(3) |
| 2017 |
Jan
(7) |
Feb
(8) |
Mar
(7) |
Apr
(3) |
May
(4) |
Jun
(3) |
Jul
(5) |
Aug
(8) |
Sep
(4) |
Oct
(2) |
Nov
(3) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2021 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
(5) |
Sep
(2) |
Oct
|
Nov
|
Dec
(1) |
| 2026 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Alef A. <al...@jt...> - 2004-10-14 13:32:24
|
I have a AbstractJExcelView lying around here that would be up for addition to Spring. Jexcel is another Excel api that works pretty smoothly and has some features POI doesn't have (inclusion of images in sheets). I can just add an org.springframework.web.servlet.view.document.AbstractJExcelView but I can also refactor the existing AbstractExcelView to only set the content type and load any templates and create two subclasses for both Jexcel (AbstractJExcelView) and Poi (AbstractPoiExcelView).=20 Of course this would mean a non-backwards-compatible change. What's the release plan (is there going to be 1.1.2) and if not, what are the opinions on non-backwards-compatible changes for 1.2??? For now, I'll add it as AbstractJExcelView with AbstractView as its superclass, but if somebody wants to see it otherwise, please let me know... Alef |
|
From: J.Enrique R. <er...@di...> - 2004-10-14 11:56:03
|
Hi Rainer,
I think that it isn't a feature :) The specification says:
-----
A portlet can bind an object attribute into a |PortletSession| by name.
The |PortletSession| interface defines two scopes for storing objects:|
APPLICATION_SCOPE and ||PORTLET_SCOPE|
All objects stored in the session using the |APPLICATION_SCOPE| must be
available to all the portlets, servlets and JSPs that belongs to the
same portlet application and that handles a request identified as being
a part of the same session. Objects stored in the session using the
|PORTLET_SCOPE| must be available to the portlet during requests for the
same portlet window that the objects where stored from. Attributes
stored in the |PORTLET_SCOPE| are not protected from other web
components of the portlet application. They are just conveniently
namespaced.
-----
I understand that '|PORTLET_SCOPE| must be available to the portlet
during requests for the same portlet WINDOW ...' and '|PORTLET_SCOPE|
must be available to the portlet during requests for the same portlet
INSTANCE ...' are the same thing.
As you are using "request.getPortletSession().getAttribute("..")" and
the API says that this method returns the object with the specified name
for the |PORTLET_SCOPE, it could be there is a bug on your portlet
container.|
Regards.
> One problem (or is it a feature?) remains: if there are two instances
> of the portlet at the same page, both will get the form execution
> result in the render request and thus will display the same content.
> I've found no way to namespace encode the request property use for the
> result forwarding. If anyone has an idea...
>
> I'll append the changed code to this message. Feel free to use it or
> give any comments.
>
> Cheers
> Rainer
--
J.Enrique Ruiz
er...@di...
DISID, S.L.L.
|
|
From: William G. T. Jr. <wg...@ru...> - 2004-10-14 11:52:38
|
Changes sound good...not sure about the single RenderRequest two Portlet
"feature"...we'll have to figure that one out. To my dismay the spec
doesn't really talk to how multiple instances are supposed to
behave...for instance it is not defined whether Portlet prefs are per
Portlet or per instance. I've added this comment to the Porlet spec
wiki at Apache.
later.
Bill
Rainer Schmitz wrote:
> Aloha!
>
> I've made some changes to SimplePortletFormController:
>
> In the original implementation the ActionRequest does nothing but
> forwarding to the RenderRequest, adding a RenderParameter as marker. The
> form action is executed in the RenderRequest handling. The disadvantage
> of this approach is that the form action is re-executed on each render
> request, i. e. every time the portlet window state is changed or another
> portlet at the same page is called.
> I've changed the code so that the action is called in the ActionRequest
> handler. The result of this execution (or the form ModelAndView in case
> of bind errors) is forwarded to the RenderRequest handler as request
> attribute.
> This way, when the portlet gets re-rendered, the form action is not
> re-executed. Since the request attribute is lost, the original form is
> displayed. If you prefer to keep the form execution result displaye in
> this case, it has to be stored in the portlet session. This can be
> achieved by setting the property 'storeResultInSession' of
> SimplePortletFormController to true.
>
> One problem (or is it a feature?) remains: if there are two instances of
> the portlet at the same page, both will get the form execution result in
> the render request and thus will display the same content. I've found no
> way to namespace encode the request property use for the result
> forwarding. If anyone has an idea...
>
> I'll append the changed code to this message. Feel free to use it or
> give any comments.
>
> Cheers
> Rainer
>
>
> ------------------------------------------------------------------------
>
> package org.springframework.web.portlet;
>
> import java.util.Map;
>
> import javax.portlet.ActionRequest;
> import javax.portlet.ActionResponse;
> import javax.portlet.PortletRequest;
> import javax.portlet.RenderRequest;
> import javax.portlet.RenderResponse;
> import javax.servlet.ServletException;
>
> import org.springframework.validation.BindException;
> import org.springframework.validation.MessageCodesResolver;
> import org.springframework.validation.ValidationUtils;
> import org.springframework.validation.Validator;
> import org.springframework.web.bind.PortletRequestDataBinder;
> import org.springframework.web.portlet.support.PortletController;
> import org.springframework.web.servlet.ModelAndView;
>
> /**
> * <p>First cut of a FormController for Portlets.</p>
> *
> * <p>
> * <ul>
> * <li>TODO: Refactor this to have a sensible heirachy</li>
> * <li>TODO: Add session form support</li>
> * <li>TODO: Re-add hooks for easier customization in the same way the Web framwork does it.</li>
> * <ul>
> * </p>
> *
> * @author nl Nick Lothian
> * @author Rainer Schmitz
> *
> */
> public class SimplePortletFormController implements PortletController {
>
> public static final String CLEARRESULT = "clearResult";
> private final String MODEL_AND_VIEW = getClass().getName();
> private Class commandClass;
> private String commandName;
> private Validator[] validators;
> private boolean validateOnBinding;
>
> private boolean storeResultInSession = true;
>
> private String formView;
>
> private String successView;
>
> private MessageCodesResolver messageCodesResolver;
>
> /**
> * @return Returns the messageCodesResolver.
> */
> public MessageCodesResolver getMessageCodesResolver() {
> return messageCodesResolver;
> }
> /**
> * @param messageCodesResolver The messageCodesResolver to set.
> */
> public void setMessageCodesResolver(
> MessageCodesResolver messageCodesResolver) {
> this.messageCodesResolver = messageCodesResolver;
> }
> /**
> * Set the name of the command in the model.
> * The command object will be included in the model under this name.
> */
> public final void setCommandName(String commandName) {
> this.commandName = commandName;
> }
>
> /**
> * Return the name of the command in the model.
> */
> protected final String getCommandName() {
> return this.commandName;
> }
>
> /**
> * Set the command class for this controller.
> * An instance of this class gets populated and validated on each request.
> */
> public final void setCommandClass(Class commandClass) {
> this.commandClass = commandClass;
> }
>
> /**
> * Return the command class for this controller.
> */
> protected final Class getCommandClass() {
> return this.commandClass;
> }
>
> /**
> * Set the primary Validator for this controller.
> * The Validator must support the specified command class.
> */
> public final void setValidators(Validator[] validators) {
> this.validators = validators;
> }
>
> /**
> * Return the Validators for this controller.
> */
> protected final Validator[] getValidators() {
> return validators;
> }
>
> /**
> * Set the Validators for this controller.
> * The Validator must support the specified command class.
> */
> public final void setValidator(Validator validator) {
> this.validators = new Validator[] {validator};
> }
>
> /**
> * Return the primary Validator for this controller.
> */
> protected final Validator getValidator() {
> return (validators != null && validators.length > 0 ? validators[0] : null);
> }
>
> /**
> * Return if the form processing result is stored in the portlet session.
> *
> * The portlets render method is executed every time the page containing the
> * portlet is refreshed, e.g. when the portlet is resized. If the form
> * processing result is stored in the session it can be re-displayed after
> * the refresh.
> *
> * @return Returns true if the form processing result is stored.
> */
> public boolean isStoreResultInSession() {
> return storeResultInSession;
> }
>
> /**
> * Set if the form processing result should be stored in portlet session.
> *
> * The portlets render method is executed every time the page containing the
> * portlet is refreshed, e.g. when the portlet is resized. If the form
> * processing result is stored in the session it can be re-displayed after
> * the refresh.
> *
> * @param storeResultInSession
> * true if the form processing result is stored.
> */
> public void setStoreResultInSession(boolean storeResultInSession) {
> this.storeResultInSession = storeResultInSession;
> }
>
> /**
> * Set if the Validator should get applied when binding.
> */
> public final void setValidateOnBinding(boolean validateOnBinding) {
> this.validateOnBinding = validateOnBinding;
> }
>
> /**
> * Return if the Validator should get applied when binding.
> */
> protected final boolean isValidateOnBinding() {
> return validateOnBinding;
> }
>
> /**
> * Set the name of the view that should be used for form display.
> */
> public final void setFormView(String formView) {
> this.formView = formView;
> }
>
> /**
> * Return the name of the view that should be used for form display.
> */
> protected final String getFormView() {
> return this.formView;
> }
>
> /**
> * Set the name of the view that should be shown on successful submit.
> */
> public final void setSuccessView(String successView) {
> this.successView = successView;
> }
>
> /**
> * Return the name of the view that should be shown on successful submit.
> */
> protected final String getSuccessView() {
> return this.successView;
> }
>
> /**
> * Handle ActionRequest.
> *
> * Bind and validate command. If there are errors than redisplay form. Otherwise execute <code>onSubmit</code>.
> * The form execution result is stored in the portlet session if <code>isStoreResultInSession</code> is true.
> *
> * @see org.springframework.web.portlet.support.PortletController#handleRequest(javax.portlet.ActionRequest, javax.portlet.ActionResponse)
> */
> public void handleRequest(ActionRequest request, ActionResponse response) throws Exception {
> Object command = formBackingObject(request);
> PortletRequestDataBinder binder = bindAndValidate(request, command);
> ModelAndView result;
> if (binder.getErrors().hasErrors()) {
> result = showForm(request, getFormView(), binder.getErrors());
> } else {
> result = onSubmit(command, binder.getErrors());
> }
> if (isStoreResultInSession()) {
> request.getPortletSession().setAttribute(MODEL_AND_VIEW, result);
> }
> request.setAttribute(MODEL_AND_VIEW, result);
> }
>
> /**
> * Handle RenderRequest.
> *
> * If request contains a result from the preceeding ActionRequest it is displayed. Otherwise a result from a previous forum submit is
> * looked up in the portlet session.
> * If no result can be found, the form is displayed.
> * @see org.springframework.web.portlet.support.PortletController#handleRequest(javax.portlet.RenderRequest, javax.portlet.RenderResponse)
> */
> public ModelAndView handleRequest(RenderRequest request, RenderResponse response) throws Exception {
> if (request.getParameter(CLEARRESULT) != null) {
> request.getPortletSession().setAttribute(MODEL_AND_VIEW, null);
> }
> ModelAndView result = getFormProcessingResult(request);
> if (result == null) { //no result: first call or old result cleared -> show new form
> result = bindAndShowForm(request);
> }
> return result;
> }
>
> /**
> * Get result of form processing.
> *
> * First look in request for a 'fresh' result. If nothing found, look for 'old' result in session.
> *
> * @param request renderRequest
> * @return ModelAndView, if a result could be found.
> */
> private ModelAndView getFormProcessingResult(RenderRequest request) {
> ModelAndView result = (ModelAndView)request.getAttribute(MODEL_AND_VIEW);
> if (result == null) {
> result = (ModelAndView)request.getPortletSession().getAttribute(MODEL_AND_VIEW);
> }
> return result;
> }
>
> private ModelAndView bindAndShowForm(RenderRequest request) throws Exception {
> PortletRequestDataBinder binder = createBinder(request, formBackingObject(request));
> binder.bind(request);
> return showForm(request, getFormView(), binder.getErrors());
> }
>
> protected ModelAndView showForm(PortletRequest request, String viewName, BindException errors) {
> Map model = errors.getModel();
> return new ModelAndView(viewName, model);
> }
>
> protected ModelAndView onSubmit(Object command, BindException errors) throws Exception {
> ModelAndView mv = onSubmit(command);
> if (mv != null) {
> // simplest onSubmit version implemented in custom subclass
> // The Web version doesn't add the errors to the model - I'm not sure
> // how that works
> Map errorModel = errors.getModel();
> mv.getModel().putAll(errorModel);
>
> return mv;
> }
> else {
> // default behavior: render success view
> if (getSuccessView() == null) {
> throw new ServletException("successView isn't set");
> }
> return new ModelAndView(getSuccessView(), errors.getModel());
> }
> }
>
>
>
> public ModelAndView onSubmit(Object command) {
> return null;
> }
>
>
> protected boolean isFormChangeRequest(PortletRequest request) {
> return false;
> }
>
> protected boolean suppressValidation(PortletRequest request) {
> return false;
> }
>
> protected PortletRequestDataBinder createBinder(PortletRequest request, Object command) throws Exception {
> PortletRequestDataBinder binder = new PortletRequestDataBinder(command, getCommandName());
>
> if (this.messageCodesResolver != null) {
> binder.setMessageCodesResolver(this.messageCodesResolver);
> }
>
> initBinder(request, binder);
> return binder;
> }
>
> protected void initBinder(PortletRequest request, PortletRequestDataBinder binder) throws Exception {
> }
>
> protected final PortletRequestDataBinder bindAndValidate(PortletRequest request, Object command) throws Exception {
> PortletRequestDataBinder binder = createBinder(request, command);
> binder.bind(request);
> //onBind(request, command, binder.getErrors());
> if (this.validators != null && isValidateOnBinding() && !suppressValidation(request)) {
> for (int i = 0; i < this.validators.length; i++) {
> ValidationUtils.invokeValidator(this.validators[i], command,
> binder.getErrors());
> }
> }
> //onBindAndValidate(request, command, binder.getErrors());
> return binder;
> }
>
>
> protected Object formBackingObject(PortletRequest request) throws Exception {
> return createCommand();
> }
>
> protected final Object createCommand() throws InstantiationException, IllegalAccessException {
> if (this.commandClass == null) {
> throw new IllegalStateException("Cannot create command without commandClass being set - " +
> "either set commandClass or override formBackingObject");
> }
> return this.commandClass.newInstance();
> }
>
> protected void initApplicationContext() {
> if (this.validators != null) {
> for (int i = 0; i < this.validators.length; i++) {
> if (this.commandClass != null && !this.validators[i].supports(this.commandClass))
> throw new IllegalArgumentException("Validator [" + this.validators[i] +
> "] does not support command class [" +
> this.commandClass.getName() + "]");
> }
> }
> }
>
> }
|
|
From: katentim @hotmail.c. <kat...@ho...> - 2004-10-14 11:31:15
|
Re: FAQ The forum is running pretty well, but as someone has suggested (http://forum.springframework.org/viewtopic.php?t=1322&highlight=faq) there are some good candidates for a FAQ. Alternatively some items could be added to the documentation (which is in some ways better). Re: Task List I think it would also be useful to have a to-do list, and contributors could be assigned them (by request). I like to pitch in, but I'm sometimes not sure where to contribute to because I'm not sure what needs doing (JIRA tasks are already assigned) and I don't know if anyone is already looking at the issue. Ideas? |
|
From: Rainer S. <Rai...@ab...> - 2004-10-14 07:26:24
|
Aloha! I've made some changes to SimplePortletFormController: In the original implementation the ActionRequest does nothing but forwarding to the RenderRequest, adding a RenderParameter as marker. The form action is executed in the RenderRequest handling. The disadvantage of this approach is that the form action is re-executed on each render request, i. e. every time the portlet window state is changed or another portlet at the same page is called. I've changed the code so that the action is called in the ActionRequest handler. The result of this execution (or the form ModelAndView in case of bind errors) is forwarded to the RenderRequest handler as request attribute. This way, when the portlet gets re-rendered, the form action is not re-executed. Since the request attribute is lost, the original form is displayed. If you prefer to keep the form execution result displaye in this case, it has to be stored in the portlet session. This can be achieved by setting the property 'storeResultInSession' of SimplePortletFormController to true. One problem (or is it a feature?) remains: if there are two instances of the portlet at the same page, both will get the form execution result in the render request and thus will display the same content. I've found no way to namespace encode the request property use for the result forwarding. If anyone has an idea... I'll append the changed code to this message. Feel free to use it or give any comments. Cheers Rainer |
|
From: Rainer S. <Rai...@ab...> - 2004-10-14 07:05:28
|
William G. Thompson, Jr. wrote: > Rainer Schmitz wrote: > >> Aloha! >> >> Another question regarding portlet support: >> Is it possible to redirect to another portlet controller as with >> RedirectView for servlets? > > > No at the moment. Not sure this is a fit for the Portlet spec...the > Portal controls how individual Portlets are called. That's true. Actually, what I was looking for is a way to call another view controller from within the controller activated by the request. For servlets we can do that with RedirectView, portlets probably will have to find another way. Rainer |
|
From: Oliver H. <Ol...@ou...> - 2004-10-13 22:48:34
|
> -----Original Message----- > From: spr...@li...=20 > [mailto:spr...@li...] > On Behalf Of Olivier Jolly > > I'd vote for xxxTest, without presuming if it contains one or more=20 > tests. If I'm not mistaken, that's the standard enforced by Eclipse=20 > plugin for instance. Eclipse doesn't care what you name your tests. It simply looks for classes that extend TestCase. Ollie |
|
From: <al...@jt...> - 2004-10-13 22:30:25
|
<html><head>
<style>
.white { color:#FFFFFF }.index { background-color:#FFFFFF }.index-passed { =
color:#004400 }.index-failed { color:#FF0000; font-weight:bold }.index-head=
er { font-weight:bold }.link { font-family:arial,helvetica,sans-serif; font=
-size:10pt; color:#FFFFFF; text-decoration:none; }.tab-table { margin: 0em =
0em 0.5em 0em; }.tabs { font-family:arial,helvetica,sans-serif; font-size:8=
pt; color:#000000; font-weight:bold; padding: 0em 2em; background-color:#EE=
EEEE; }.tabs-link { color:#000000; text-decoration:none; }.tabs-link:visite=
d { color:#000000; text-decoration:none; }.tabs-selected { font-family:aria=
l,helvetica,sans-serif; font-size:8pt; color:#000000; font-weight:bold; pad=
ding: 0em 2em; }.tabs-selected { border: inset; }.header-title { font-famil=
y:arial,helvetica,sans-serif; font-size:12pt; color:#000000; font-weight:bo=
ld; }.header-label { font-weight:bold; }.header-data { font-family:arial,he=
lvetica,sans-serif; font-size:10pt; color:#000000; }.modifications-data { f=
ont-family:arial,helvetica,sans-serif; font-size:8pt; color:#000000; }.modi=
fications-sectionheader { background-color:#000066; font-family:arial,helve=
tica,sans-serif; font-size:10pt; color:#FFFFFF; }.modifications-oddrow { ba=
ckground-color:#CCCCCC }.modifications-evenrow { background-color:#FFFFCC }=
.changelists-oddrow { background-color:#CCCCCC }.changelists-evenrow { back=
ground-color:#FFFFCC }.changelists-file-spacer { background-color:#FFFFFF }=
.changelists-file-evenrow { background-color:#EEEEEE }.changelists-file-odd=
row { background-color:#FFFFEE }.changelists-file-header { background-color=
:#666666; font-family:arial,helvetica,sans-serif; font-size:8pt; color:#FFF=
FFF; }.compile-data { font-family:arial,helvetica,sans-serif; font-size:8pt=
; color:#000000; }.compile-error-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#FF0000; }.compile-warn-data { font-family:arial,=
helvetica,sans-serif; font-size:8pt; color:#CC9900; }.compile-sectionheader=
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-s=
ize:10pt; color:#FFFFFF; }.distributables-data { font-family:arial,helvetic=
a,sans-serif; font-size:8pt; color:#000000; }.distributables-sectionheader =
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-si=
ze:10pt; color:#FFFFFF; }.distributables-oddrow { background-color:#CCCCCC =
}.unittests-sectionheader { background-color:#000066; font-family:arial,hel=
vetica,sans-serif; font-size:10pt; color:#FFFFFF; }.unittests-oddrow { back=
ground-color:#CCCCCC }.unittests-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#000000; }.unittests-error { font-family:arial,he=
lvetica,sans-serif; font-size:8pt; color:#FF0000; }.checkstyle-oddrow { bac=
kground-color:#CCCCCC }.checkstyle-data { font-family:arial,helvetica,sans-=
serif; font-size:8pt; color:#000000; }.checkstyle-sectionheader { backgroun=
d-color:#000066; font-family:arial,helvetica,sans-serif; font-size:10pt; co=
lor:#FFFFFF; }
</style>
</head><body>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"header-title">BUILD COMPLETE - =
build.123</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>10/14/2004 00:16:17</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 25 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>10/13/2004 17:46:02</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>Added tests to confirm presence of SPR-391: Cannot use CGL=
IB proxies aroundbeans with method lookup. Still working on this bug.</td><=
/tr></table><p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"/><p>
<p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"><tr><td class=
=3D"compile-sectionheader"> Errors/Warnings: (=
6) </td></tr><tr><td><pre class=3D"compile-error-data">N=
ote: Some input files use or override a deprecated API.<br class=3D"none"/>=
Note: Recompile with -deprecation for details.Note: /jteam/build/checkout/s=
pring/spring/mock/org/springframework/mock/web/MockHttpSession.java uses or=
overrides a deprecated API.<br class=3D"none"/>Note: Recompile with -depre=
cation for details.<br class=3D"none"/>Note: Some input files use or overri=
de a deprecated API.<br class=3D"none"/>Note: Recompile with -deprecation f=
or details.<br class=3D"none"/></pre></td></tr></table><p>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Tests: (1470) </td></tr><tr><td><tabl=
e width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"c=
enter"><tr><td class=3D"unittests-data"> failure =
</td><td width=3D"40%" class=3D"unittests-data">testHomePage</td><td width=
=3D"40%" class=3D"unittests-data">org.springframework.apptests.buildtest.Al=
lTests</td></tr></table></td></tr><tr></tr><tr><td colspan=3D"2"> </td=
></tr><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Test Error Details: (1) </td></tr><tr=
><td class=3D"unittests-data" colspan=3D"2"> Test: test=
HomePage</td></tr><tr><td class=3D"unittests-data" colspan=3D"2"> =
Class: org.springframework.apptests.buildtest.AllTests</td></tr>=
<tr><td class=3D"unittests-data" colspan=3D"2"> Type: junit.=
framework.AssertionFailedError</td></tr><tr><td class=3D"unittests-data" co=
lspan=3D"2"> Message: Exception while testing URL http://loc=
alhost:13084/buildtest:java.io.IOException</td></tr><tr><td class=3D"unitte=
sts-error" colspan=3D"2"><pre>junit.framework.AssertionFailedError: Excepti=
on while testing URL http://localhost:13084/buildtest:java.io.IOException<b=
r>=09at org.springframework.apptests.buildtest.AllTests.testHomePage(Unknow=
n Source)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth=
od)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess=
orImpl.java:39)<br>=09at sun.reflect.DelegatingMethodAccessorImpl.invoke(De=
legatingMethodAccessorImpl.java:25)<br></pre></td></tr><tr><td colspan=3D"2=
"> </td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"modifications-sectionheader"> =
Modifications since last build: =
(4) </td></tr><tr class=3D"modifications-evenrow"><td c=
lass=3D"modifications-data">added</td><td class=3D"modifications-data">john=
sonr</td><td class=3D"modifications-data">test/org/springframework/beans/fa=
ctory/xml/SPR391LookupMethodWrappedByCglibProxyTests.java</td><td class=3D"=
modifications-data">Added tests to confirm presence of SPR-391: Cannot use =
CGLIB proxies aroundbeans with method lookup. Still working on this bug.</t=
d></tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-data">=
added</td><td class=3D"modifications-data">johnsonr</td><td class=3D"modifi=
cations-data">test/org/springframework/beans/factory/xml/overloadOverrides.=
xml</td><td class=3D"modifications-data">Added tests to confirm presence of=
SPR-391: Cannot use CGLIB proxies aroundbeans with method lookup. Still wo=
rking on this bug.</td></tr><tr class=3D"modifications-evenrow"><td class=
=3D"modifications-data">modified</td><td class=3D"modifications-data">kdona=
ld</td><td class=3D"modifications-data">sandbox/test/org/springframework/ut=
il/ToStringCreatorTest.java</td><td class=3D"modifications-data">*** empty =
log message ***</td></tr><tr class=3D"modifications-oddrow"><td class=3D"mo=
difications-data">modified</td><td class=3D"modifications-data">kdonald</td=
><td class=3D"modifications-data">sandbox/src/org/springframework/util/ToSt=
ringCreator.java</td><td class=3D"modifications-data">fixed possible npe</t=
d></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"distributables-sectionheader"> =
Deployments by this build: (8) </td><=
/tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/checko=
ut/spring/spring/dist/spring.jar</td></tr><tr class=3D"distributables-oddro=
w"><td class=3D"distributables-data">Building war: /jteam/build/checkout/sp=
ring/spring/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr><td c=
lass=3D"distributables-data">Building war: /jteam/build/checkout/spring/spr=
ing/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr class=3D"dist=
ributables-oddrow"><td class=3D"distributables-data">Building war: /jteam/b=
uild/checkout/spring/spring/autobuilds/apps/buildtest/dist/buildtest.war</t=
d></tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/che=
ckout/spring/spring/autobuilds/apps/jpetstore/war/WEB-INF/lib/jpetstore.jar=
</td></tr><tr class=3D"distributables-oddrow"><td class=3D"distributables-d=
ata">Building war: /jteam/build/checkout/spring/spring/autobuilds/apps/jpet=
store/dist/jpetstore.war</td></tr><tr><td class=3D"distributables-data">Bui=
lding jar: /jteam/build/checkout/spring/spring/autobuilds/apps/jpetstore/wa=
r/WEB-INF/lib/jpetstore.jar</td></tr><tr class=3D"distributables-oddrow"><t=
d class=3D"distributables-data">Building war: /jteam/build/checkout/spring/=
spring/autobuilds/apps/jpetstore/dist/jpetstore.war</td></tr></table>
</body></html> |
|
From: Andreas R. <and...@ya...> - 2004-10-13 16:34:10
|
Hi,
I have a parent beanfactory with one dao defined as a
singleton ( by default ).
During initialisation it creates a instance of the dao
in the singletoncache.
Now I create a child beanfactory and connect the
parent beanfactory via constructor.
If I call getBean("dao") on the child beanfactory, it
creates an additional instance in the singletoncache
of the child beanfactory.
So there are two instance of the bean which is defined
as singleton.
Is this the correct behavior or is it a fault?
Regards
Andreas
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
|
|
From: William G. T. Jr. <wg...@ru...> - 2004-10-13 14:17:02
|
Rainer Schmitz wrote: > Aloha! > > Another question regarding portlet support: > Is it possible to redirect to another portlet controller as with > RedirectView for servlets? No at the moment. Not sure this is a fit for the Portlet spec...the Portal controls how individual Portlets are called. > > Thanks, > Rainer > > > |
|
From: <al...@jt...> - 2004-10-13 07:03:53
|
<html><head>
<style>
.white { color:#FFFFFF }.index { background-color:#FFFFFF }.index-passed { =
color:#004400 }.index-failed { color:#FF0000; font-weight:bold }.index-head=
er { font-weight:bold }.link { font-family:arial,helvetica,sans-serif; font=
-size:10pt; color:#FFFFFF; text-decoration:none; }.tab-table { margin: 0em =
0em 0.5em 0em; }.tabs { font-family:arial,helvetica,sans-serif; font-size:8=
pt; color:#000000; font-weight:bold; padding: 0em 2em; background-color:#EE=
EEEE; }.tabs-link { color:#000000; text-decoration:none; }.tabs-link:visite=
d { color:#000000; text-decoration:none; }.tabs-selected { font-family:aria=
l,helvetica,sans-serif; font-size:8pt; color:#000000; font-weight:bold; pad=
ding: 0em 2em; }.tabs-selected { border: inset; }.header-title { font-famil=
y:arial,helvetica,sans-serif; font-size:12pt; color:#000000; font-weight:bo=
ld; }.header-label { font-weight:bold; }.header-data { font-family:arial,he=
lvetica,sans-serif; font-size:10pt; color:#000000; }.modifications-data { f=
ont-family:arial,helvetica,sans-serif; font-size:8pt; color:#000000; }.modi=
fications-sectionheader { background-color:#000066; font-family:arial,helve=
tica,sans-serif; font-size:10pt; color:#FFFFFF; }.modifications-oddrow { ba=
ckground-color:#CCCCCC }.modifications-evenrow { background-color:#FFFFCC }=
.changelists-oddrow { background-color:#CCCCCC }.changelists-evenrow { back=
ground-color:#FFFFCC }.changelists-file-spacer { background-color:#FFFFFF }=
.changelists-file-evenrow { background-color:#EEEEEE }.changelists-file-odd=
row { background-color:#FFFFEE }.changelists-file-header { background-color=
:#666666; font-family:arial,helvetica,sans-serif; font-size:8pt; color:#FFF=
FFF; }.compile-data { font-family:arial,helvetica,sans-serif; font-size:8pt=
; color:#000000; }.compile-error-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#FF0000; }.compile-warn-data { font-family:arial,=
helvetica,sans-serif; font-size:8pt; color:#CC9900; }.compile-sectionheader=
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-s=
ize:10pt; color:#FFFFFF; }.distributables-data { font-family:arial,helvetic=
a,sans-serif; font-size:8pt; color:#000000; }.distributables-sectionheader =
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-si=
ze:10pt; color:#FFFFFF; }.distributables-oddrow { background-color:#CCCCCC =
}.unittests-sectionheader { background-color:#000066; font-family:arial,hel=
vetica,sans-serif; font-size:10pt; color:#FFFFFF; }.unittests-oddrow { back=
ground-color:#CCCCCC }.unittests-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#000000; }.unittests-error { font-family:arial,he=
lvetica,sans-serif; font-size:8pt; color:#FF0000; }.checkstyle-oddrow { bac=
kground-color:#CCCCCC }.checkstyle-data { font-family:arial,helvetica,sans-=
serif; font-size:8pt; color:#000000; }.checkstyle-sectionheader { backgroun=
d-color:#000066; font-family:arial,helvetica,sans-serif; font-size:10pt; co=
lor:#FFFFFF; }
</style>
</head><body>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"header-title">BUILD COMPLETE - =
build.122</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>10/13/2004 00:16:45</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 23 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>10/12/2004 17:15:09</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>test case polishing</td></tr></table><p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"/><p>
<p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"><tr><td class=
=3D"compile-sectionheader"> Errors/Warnings: (=
6) </td></tr><tr><td><pre class=3D"compile-error-data">N=
ote: Some input files use or override a deprecated API.<br class=3D"none"/>=
Note: Recompile with -deprecation for details.Note: /jteam/build/checkout/s=
pring/spring/mock/org/springframework/mock/web/MockHttpSession.java uses or=
overrides a deprecated API.<br class=3D"none"/>Note: Recompile with -depre=
cation for details.<br class=3D"none"/>Note: Some input files use or overri=
de a deprecated API.<br class=3D"none"/>Note: Recompile with -deprecation f=
or details.<br class=3D"none"/></pre></td></tr></table><p>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Tests: (1470) </td></tr><tr><td><tabl=
e width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"c=
enter"><tr><td class=3D"unittests-data"> failure =
</td><td width=3D"40%" class=3D"unittests-data">testHomePage</td><td width=
=3D"40%" class=3D"unittests-data">org.springframework.apptests.buildtest.Al=
lTests</td></tr></table></td></tr><tr></tr><tr><td colspan=3D"2"> </td=
></tr><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Test Error Details: (1) </td></tr><tr=
><td class=3D"unittests-data" colspan=3D"2"> Test: test=
HomePage</td></tr><tr><td class=3D"unittests-data" colspan=3D"2"> =
Class: org.springframework.apptests.buildtest.AllTests</td></tr>=
<tr><td class=3D"unittests-data" colspan=3D"2"> Type: junit.=
framework.AssertionFailedError</td></tr><tr><td class=3D"unittests-data" co=
lspan=3D"2"> Message: Exception while testing URL http://loc=
alhost:13084/buildtest:java.io.IOException</td></tr><tr><td class=3D"unitte=
sts-error" colspan=3D"2"><pre>junit.framework.AssertionFailedError: Excepti=
on while testing URL http://localhost:13084/buildtest:java.io.IOException<b=
r>=09at org.springframework.apptests.buildtest.AllTests.testHomePage(Unknow=
n Source)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth=
od)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess=
orImpl.java:39)<br>=09at sun.reflect.DelegatingMethodAccessorImpl.invoke(De=
legatingMethodAccessorImpl.java:25)<br></pre></td></tr><tr><td colspan=3D"2=
"> </td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"modifications-sectionheader"> =
Modifications since last build: =
(43) </td></tr><tr class=3D"modifications-evenrow"><td =
class=3D"modifications-data">modified</td><td class=3D"modifications-data">=
kdonald</td><td class=3D"modifications-data">sandbox/test/org/springframewo=
rk/util/ToStringCreatorTests.java</td><td class=3D"modifications-data">test=
case polishing</td></tr><tr class=3D"modifications-oddrow"><td class=3D"mo=
difications-data">modified</td><td class=3D"modifications-data">kdonald</td=
><td class=3D"modifications-data">sandbox/src/org/springframework/util/ToSt=
ringCreator.java</td><td class=3D"modifications-data">test case polishing</=
td></tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data=
">modified</td><td class=3D"modifications-data">kdonald</td><td class=3D"mo=
difications-data">src/org/springframework/util/Assert.java</td><td class=3D=
"modifications-data">polishing</td></tr><tr class=3D"modifications-oddrow">=
<td class=3D"modifications-data">modified</td><td class=3D"modifications-da=
ta">kdonald</td><td class=3D"modifications-data">sandbox/test/org/springfra=
mework/rules/RulesTestSuite.java</td><td class=3D"modifications-data">test =
cases updates</td></tr><tr class=3D"modifications-evenrow"><td class=3D"mod=
ifications-data">modified</td><td class=3D"modifications-data">kdonald</td>=
<td class=3D"modifications-data">sandbox/test/org/springframework/rules/Val=
idationResultsTests.java</td><td class=3D"modifications-data">test cases up=
dates</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modification=
s-data">deleted</td><td class=3D"modifications-data">kdonald</td><td class=
=3D"modifications-data">sandbox/test/org/springframework/util/ToStringBuild=
erTests.java</td><td class=3D"modifications-data">test cases updates</td></=
tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data">add=
ed</td><td class=3D"modifications-data">kdonald</td><td class=3D"modificati=
ons-data">sandbox/test/org/springframework/util/ToStringCreatorTests.java</=
td><td class=3D"modifications-data">test cases updates</td></tr><tr class=
=3D"modifications-oddrow"><td class=3D"modifications-data">modified</td><td=
class=3D"modifications-data">johnsonr</td><td class=3D"modifications-data"=
>test/org/springframework/aop/framework/autoproxy/AutoProxyCreatorTests.jav=
a</td><td class=3D"modifications-data">Changed expectation. Added TODO--thi=
s test still needs work.</td></tr><tr class=3D"modifications-evenrow"><td c=
lass=3D"modifications-data">modified</td><td class=3D"modifications-data">k=
donald</td><td class=3D"modifications-data">src/org/springframework/util/As=
sert.java</td><td class=3D"modifications-data">added back assertion stateme=
nts with default messages--this is important,particularly for rich client w=
hich uses these heavily...</td></tr><tr class=3D"modifications-oddrow"><td =
class=3D"modifications-data">modified</td><td class=3D"modifications-data">=
kdonald</td><td class=3D"modifications-data">sandbox/src/org/springframewor=
k/util/visitor/ReflectiveVisitorSupport.java</td><td class=3D"modifications=
-data">commit package reorgs / cleanup / polishing for util enhancements to=
the corejuergen, please review everything in util in the sandbox</td></tr>=
<tr class=3D"modifications-evenrow"><td class=3D"modifications-data">delete=
d</td><td class=3D"modifications-data">kdonald</td><td class=3D"modificatio=
ns-data">sandbox/src/org/springframework/rules/BinaryClosure.java</td><td c=
lass=3D"modifications-data">commit package reorgs / cleanup / polishing for=
util enhancements to the corejuergen, please review everything in util in =
the sandbox</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modifi=
cations-data">deleted</td><td class=3D"modifications-data">kdonald</td><td =
class=3D"modifications-data">sandbox/src/org/springframework/rules/BinaryCo=
nstraint.java</td><td class=3D"modifications-data">commit package reorgs / =
cleanup / polishing for util enhancements to the corejuergen, please review=
everything in util in the sandbox</td></tr><tr class=3D"modifications-even=
row"><td class=3D"modifications-data">deleted</td><td class=3D"modification=
s-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/spring=
framework/rules/Closure.java</td><td class=3D"modifications-data">commit pa=
ckage reorgs / cleanup / polishing for util enhancements to the corejuergen=
, please review everything in util in the sandbox</td></tr><tr class=3D"mod=
ifications-oddrow"><td class=3D"modifications-data">deleted</td><td class=
=3D"modifications-data">kdonald</td><td class=3D"modifications-data">sandbo=
x/src/org/springframework/rules/Constraint.java</td><td class=3D"modificati=
ons-data">commit package reorgs / cleanup / polishing for util enhancements=
to the corejuergen, please review everything in util in the sandbox</td></=
tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data">del=
eted</td><td class=3D"modifications-data">kdonald</td><td class=3D"modifica=
tions-data">sandbox/src/org/springframework/rules/NoArgClosure.java</td><td=
class=3D"modifications-data">commit package reorgs / cleanup / polishing f=
or util enhancements to the corejuergen, please review everything in util i=
n the sandbox</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modi=
fications-data">deleted</td><td class=3D"modifications-data">kdonald</td><t=
d class=3D"modifications-data">sandbox/src/org/springframework/rules/Proces=
sTemplate.java</td><td class=3D"modifications-data">commit package reorgs /=
cleanup / polishing for util enhancements to the corejuergen, please revie=
w everything in util in the sandbox</td></tr><tr class=3D"modifications-eve=
nrow"><td class=3D"modifications-data">modified</td><td class=3D"modificati=
ons-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/spri=
ngframework/rules/Rules.java</td><td class=3D"modifications-data">commit pa=
ckage reorgs / cleanup / polishing for util enhancements to the corejuergen=
, please review everything in util in the sandbox</td></tr><tr class=3D"mod=
ifications-oddrow"><td class=3D"modifications-data">modified</td><td class=
=3D"modifications-data">kdonald</td><td class=3D"modifications-data">sandbo=
x/src/org/springframework/rules/factory/Closures.java</td><td class=3D"modi=
fications-data">commit package reorgs / cleanup / polishing for util enhanc=
ements to the corejuergen, please review everything in util in the sandbox<=
/td></tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-dat=
a">modified</td><td class=3D"modifications-data">kdonald</td><td class=3D"m=
odifications-data">sandbox/src/org/springframework/rules/factory/Constraint=
s.java</td><td class=3D"modifications-data">commit package reorgs / cleanup=
/ polishing for util enhancements to the corejuergen, please review everyt=
hing in util in the sandbox</td></tr><tr class=3D"modifications-oddrow"><td=
class=3D"modifications-data">modified</td><td class=3D"modifications-data"=
>kdonald</td><td class=3D"modifications-data">sandbox/src/org/springframewo=
rk/rules/factory/PropertyConstraints.java</td><td class=3D"modifications-da=
ta">commit package reorgs / cleanup / polishing for util enhancements to th=
e corejuergen, please review everything in util in the sandbox</td></tr><tr=
class=3D"modifications-evenrow"><td class=3D"modifications-data">deleted</=
td><td class=3D"modifications-data">kdonald</td><td class=3D"modifications-=
data">sandbox/src/org/springframework/beans/BeanInfoSupport.java</td><td cl=
ass=3D"modifications-data">commit package reorgs / cleanup / polishing for =
util enhancements to the corejuergen, please review everything in util in t=
he sandbox</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modific=
ations-data">deleted</td><td class=3D"modifications-data">kdonald</td><td c=
lass=3D"modifications-data">sandbox/src/org/springframework/util/ArrayUtils=
.java</td><td class=3D"modifications-data">commit package reorgs / cleanup =
/ polishing for util enhancements to the corejuergen, please review everyth=
ing in util in the sandbox</td></tr><tr class=3D"modifications-evenrow"><td=
class=3D"modifications-data">deleted</td><td class=3D"modifications-data">=
kdonald</td><td class=3D"modifications-data">sandbox/src/org/springframewor=
k/util/Cache.java</td><td class=3D"modifications-data">commit package reorg=
s / cleanup / polishing for util enhancements to the corejuergen, please re=
view everything in util in the sandbox</td></tr><tr class=3D"modifications-=
oddrow"><td class=3D"modifications-data">added</td><td class=3D"modificatio=
ns-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/sprin=
gframework/util/CachingMapTemplate.java</td><td class=3D"modifications-data=
">commit package reorgs / cleanup / polishing for util enhancements to the =
corejuergen, please review everything in util in the sandbox</td></tr><tr c=
lass=3D"modifications-evenrow"><td class=3D"modifications-data">modified</t=
d><td class=3D"modifications-data">kdonald</td><td class=3D"modifications-d=
ata">sandbox/src/org/springframework/util/DefaultObjectStyler.java</td><td =
class=3D"modifications-data">commit package reorgs / cleanup / polishing fo=
r util enhancements to the corejuergen, please review everything in util in=
the sandbox</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modif=
ications-data">deleted</td><td class=3D"modifications-data">kdonald</td><td=
class=3D"modifications-data">sandbox/src/org/springframework/util/DefaultT=
oStringStyler.java</td><td class=3D"modifications-data">commit package reor=
gs / cleanup / polishing for util enhancements to the corejuergen, please r=
eview everything in util in the sandbox</td></tr><tr class=3D"modifications=
-evenrow"><td class=3D"modifications-data">modified</td><td class=3D"modifi=
cations-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/=
springframework/util/ObjectStyler.java</td><td class=3D"modifications-data"=
>commit package reorgs / cleanup / polishing for util enhancements to the c=
orejuergen, please review everything in util in the sandbox</td></tr><tr cl=
ass=3D"modifications-oddrow"><td class=3D"modifications-data">deleted</td><=
td class=3D"modifications-data">kdonald</td><td class=3D"modifications-data=
">sandbox/src/org/springframework/util/ToStringBuilder.java</td><td class=
=3D"modifications-data">commit package reorgs / cleanup / polishing for uti=
l enhancements to the corejuergen, please review everything in util in the =
sandbox</td></tr><tr class=3D"modifications-evenrow"><td class=3D"modificat=
ions-data">added</td><td class=3D"modifications-data">kdonald</td><td class=
=3D"modifications-data">sandbox/src/org/springframework/util/ToStringCreato=
r.java</td><td class=3D"modifications-data">commit package reorgs / cleanup=
/ polishing for util enhancements to the corejuergen, please review everyt=
hing in util in the sandbox</td></tr><tr class=3D"modifications-oddrow"><td=
class=3D"modifications-data">deleted</td><td class=3D"modifications-data">=
kdonald</td><td class=3D"modifications-data">sandbox/src/org/springframewor=
k/util/ToStringStyler.java</td><td class=3D"modifications-data">commit pack=
age reorgs / cleanup / polishing for util enhancements to the corejuergen, =
please review everything in util in the sandbox</td></tr><tr class=3D"modif=
ications-evenrow"><td class=3D"modifications-data">modified</td><td class=
=3D"modifications-data">kdonald</td><td class=3D"modifications-data">sandbo=
x/src/org/springframework/rules/reporting/BeanValidationResultsBuilder.java=
</td><td class=3D"modifications-data">commit package reorgs / cleanup / pol=
ishing for util enhancements to the corejuergen, please review everything i=
n util in the sandbox</td></tr><tr class=3D"modifications-oddrow"><td class=
=3D"modifications-data">modified</td><td class=3D"modifications-data">kdona=
ld</td><td class=3D"modifications-data">sandbox/src/org/springframework/rul=
es/reporting/BeanValidationResultsCollector.java</td><td class=3D"modificat=
ions-data">commit package reorgs / cleanup / polishing for util enhancement=
s to the corejuergen, please review everything in util in the sandbox</td><=
/tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data">mo=
dified</td><td class=3D"modifications-data">kdonald</td><td class=3D"modifi=
cations-data">sandbox/src/org/springframework/rules/reporting/DefaultMessag=
eTranslator.java</td><td class=3D"modifications-data">commit package reorgs=
/ cleanup / polishing for util enhancements to the corejuergen, please rev=
iew everything in util in the sandbox</td></tr><tr class=3D"modifications-o=
ddrow"><td class=3D"modifications-data">modified</td><td class=3D"modificat=
ions-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/spr=
ingframework/rules/reporting/PropertyResults.java</td><td class=3D"modifica=
tions-data">commit package reorgs / cleanup / polishing for util enhancemen=
ts to the corejuergen, please review everything in util in the sandbox</td>=
</tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data">m=
odified</td><td class=3D"modifications-data">kdonald</td><td class=3D"modif=
ications-data">sandbox/src/org/springframework/rules/reporting/SummingVisit=
or.java</td><td class=3D"modifications-data">commit package reorgs / cleanu=
p / polishing for util enhancements to the corejuergen, please review every=
thing in util in the sandbox</td></tr><tr class=3D"modifications-oddrow"><t=
d class=3D"modifications-data">modified</td><td class=3D"modifications-data=
">kdonald</td><td class=3D"modifications-data">sandbox/src/org/springframew=
ork/rules/reporting/ValidationResults.java</td><td class=3D"modifications-d=
ata">commit package reorgs / cleanup / polishing for util enhancements to t=
he corejuergen, please review everything in util in the sandbox</td></tr><t=
r class=3D"modifications-evenrow"><td class=3D"modifications-data">modified=
</td><td class=3D"modifications-data">kdonald</td><td class=3D"modification=
s-data">sandbox/src/org/springframework/rules/reporting/ValidationResultsBu=
ilder.java</td><td class=3D"modifications-data">commit package reorgs / cle=
anup / polishing for util enhancements to the corejuergen, please review ev=
erything in util in the sandbox</td></tr><tr class=3D"modifications-oddrow"=
><td class=3D"modifications-data">modified</td><td class=3D"modifications-d=
ata">kdonald</td><td class=3D"modifications-data">sandbox/src/org/springfra=
mework/rules/reporting/ValidationResultsCollector.java</td><td class=3D"mod=
ifications-data">commit package reorgs / cleanup / polishing for util enhan=
cements to the corejuergen, please review everything in util in the sandbox=
</td></tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-da=
ta">modified</td><td class=3D"modifications-data">kdonald</td><td class=3D"=
modifications-data">sandbox/src/org/springframework/rules/reporting/ValueVa=
lidationResults.java</td><td class=3D"modifications-data">commit package re=
orgs / cleanup / polishing for util enhancements to the corejuergen, please=
review everything in util in the sandbox</td></tr><tr class=3D"modificatio=
ns-oddrow"><td class=3D"modifications-data">deleted</td><td class=3D"modifi=
cations-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/=
springframework/beans/factory/access/SingletonServiceLocatorLoader.java</td=
><td class=3D"modifications-data">commit package reorgs / cleanup / polishi=
ng for util enhancements to the corejuergen, please review everything in ut=
il in the sandbox</td></tr><tr class=3D"modifications-evenrow"><td class=3D=
"modifications-data">modified</td><td class=3D"modifications-data">kdonald<=
/td><td class=3D"modifications-data">sandbox/src/org/springframework/util/v=
isitor/Visitor.java</td><td class=3D"modifications-data">commit package reo=
rgs / cleanup / polishing for util enhancements to the corejuergen, please =
review everything in util in the sandbox</td></tr><tr class=3D"modification=
s-oddrow"><td class=3D"modifications-data">modified</td><td class=3D"modifi=
cations-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/=
springframework/util/visitor/Visitable.java</td><td class=3D"modifications-=
data">commit package reorgs / cleanup / polishing for util enhancements to =
the corejuergen, please review everything in util in the sandbox</td></tr><=
tr class=3D"modifications-evenrow"><td class=3D"modifications-data">modifie=
d</td><td class=3D"modifications-data">kdonald</td><td class=3D"modificatio=
ns-data">src/org/springframework/util/Assert.java</td><td class=3D"modifica=
tions-data">fixed logic bug in not empty methodsadded state assertion metho=
d, for throwing IllegalState</td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"distributables-sectionheader"> =
Deployments by this build: (8) </td><=
/tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/checko=
ut/spring/spring/dist/spring.jar</td></tr><tr class=3D"distributables-oddro=
w"><td class=3D"distributables-data">Building war: /jteam/build/checkout/sp=
ring/spring/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr><td c=
lass=3D"distributables-data">Building war: /jteam/build/checkout/spring/spr=
ing/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr class=3D"dist=
ributables-oddrow"><td class=3D"distributables-data">Building war: /jteam/b=
uild/checkout/spring/spring/autobuilds/apps/buildtest/dist/buildtest.war</t=
d></tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/che=
ckout/spring/spring/autobuilds/apps/jpetstore/war/WEB-INF/lib/jpetstore.jar=
</td></tr><tr class=3D"distributables-oddrow"><td class=3D"distributables-d=
ata">Building war: /jteam/build/checkout/spring/spring/autobuilds/apps/jpet=
store/dist/jpetstore.war</td></tr><tr><td class=3D"distributables-data">Bui=
lding jar: /jteam/build/checkout/spring/spring/autobuilds/apps/jpetstore/wa=
r/WEB-INF/lib/jpetstore.jar</td></tr><tr class=3D"distributables-oddrow"><t=
d class=3D"distributables-data">Building war: /jteam/build/checkout/spring/=
spring/autobuilds/apps/jpetstore/dist/jpetstore.war</td></tr></table>
</body></html> |
|
From: Keith D. <kd...@cs...> - 2004-10-12 21:49:23
|
I've been doing some spring cleaning in the sandbox: what are the org.springframework.selector package and related subpackages? Is anyone using this? Do we intend do move this forward in any way? I know that it's been there for at least several months - April or so I believe. If it's not being used and there are no objections, can we remove it? Thanks, Keith |
|
From: Dion A. <di...@al...> - 2004-10-12 18:25:14
|
Colin - Thanks for the great info. I will take a peak and see if I can get it working in a fairly simple way. Once you start working with DI it is too painful to have to leave it behind elsewhere! ;) D -----Original Message----- From: Colin Sampaleanu [mailto:col...@ex...] Sent: Tuesday, October 12, 2004 11:57 AM To: spr...@li... Subject: Re: [Springframework-developer] How to getting at an application context At that point, you're stuck with using some sort of singleton or quasi-singleton, realistically... (which of course is what the servlet context variant is anyways) You can roll your own, or rely on the singleton implementations of BeanFactoryLocator, such as SingletonBeanFactoryLocator or ContextSingletonBeanFactoryLocator. http://www.springframework.org/docs/api/org/springframework/beans/factory/ac cess/SingletonBeanFactoryLocator.html http://www.springframework.org/docs/api/org/springframework/context/access/C ontextSingletonBeanFactoryLocator.html Note that if you do use these, you will want to probably use a slightly modified setup where you use a service layer appcontext, and the web-app context is just a child of that, and still loaded normally via the context loader listener. This loading is easily achieved with a subclass of ContextLoader and ContextLoaderListener, like here: http://cvs.sourceforge.net/viewcvs.py/springframework/spring/autobuilds/apps /ejbtest/src/java/org/springframework/autobuilds/ejbtest/util/context/Contex tLoader.java?view=markup http://cvs.sourceforge.net/viewcvs.py/springframework/spring/autobuilds/apps /ejbtest/src/java/org/springframework/autobuilds/ejbtest/util/context/Contex tLoaderListener.java?view=markup Regards, Colin Dion Almaer wrote: >Hi guys - > >When I have code in something like a ServletContextListener I can get >access to the application context easily via: > >ApplicationContext appContext = >WebApplicationContextUtils.getWebApplicationContext(event.getServletCon >text( >)); > >However, I have a class that is initiated from third party library, >which is loaded from WEB-INF/lib. > >This third party library has nothing to do with the web, so there is no >way to get the ServletContext, and hence the application context. > >Is there anyway that I can get from this loaded class to my nice context? >E.g. can my code look at its ClassLoader and find anything from there? > >Cheers, > >Dion > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Colin S. <col...@ex...> - 2004-10-12 16:57:59
|
At that point, you're stuck with using some sort of singleton or quasi-singleton, realistically... (which of course is what the servlet context variant is anyways) You can roll your own, or rely on the singleton implementations of BeanFactoryLocator, such as SingletonBeanFactoryLocator or ContextSingletonBeanFactoryLocator. http://www.springframework.org/docs/api/org/springframework/beans/factory/access/SingletonBeanFactoryLocator.html http://www.springframework.org/docs/api/org/springframework/context/access/ContextSingletonBeanFactoryLocator.html Note that if you do use these, you will want to probably use a slightly modified setup where you use a service layer appcontext, and the web-app context is just a child of that, and still loaded normally via the context loader listener. This loading is easily achieved with a subclass of ContextLoader and ContextLoaderListener, like here: http://cvs.sourceforge.net/viewcvs.py/springframework/spring/autobuilds/apps/ejbtest/src/java/org/springframework/autobuilds/ejbtest/util/context/ContextLoader.java?view=markup http://cvs.sourceforge.net/viewcvs.py/springframework/spring/autobuilds/apps/ejbtest/src/java/org/springframework/autobuilds/ejbtest/util/context/ContextLoaderListener.java?view=markup Regards, Colin Dion Almaer wrote: >Hi guys - > >When I have code in something like a ServletContextListener I can get access >to the application context easily via: > >ApplicationContext appContext = >WebApplicationContextUtils.getWebApplicationContext(event.getServletContext( >)); > >However, I have a class that is initiated from third party library, which is >loaded from WEB-INF/lib. > >This third party library has nothing to do with the web, so there is no way >to get the ServletContext, and hence the application context. > >Is there anyway that I can get from this loaded class to my nice context? >E.g. can my code look at its ClassLoader and find anything from there? > >Cheers, > >Dion > > |
|
From: Dion A. <di...@al...> - 2004-10-12 15:17:53
|
Hi guys - When I have code in something like a ServletContextListener I can get access to the application context easily via: ApplicationContext appContext = WebApplicationContextUtils.getWebApplicationContext(event.getServletContext( )); However, I have a class that is initiated from third party library, which is loaded from WEB-INF/lib. This third party library has nothing to do with the web, so there is no way to get the ServletContext, and hence the application context. Is there anyway that I can get from this loaded class to my nice context? E.g. can my code look at its ClassLoader and find anything from there? Cheers, Dion |
|
From: Rod J. <ro...@in...> - 2004-10-12 09:49:49
|
I will ask my contact at Oracle. Nikos wrote: > Rod Johnson wrote: > >>> Is there a proposed date for the Spring 1.2 release ? >> >> >> We expect the final release to be around Dec 04/Jan 05, although we >> haven't announced a firm date yet. >> >>> Will the JMX support - currently in the sandbox - be included in the >>> 1.2 release ? >> >> >> Yes. > > > What about TopLink support in 1.2? According to [1] it will be shipped > separately from Spring. Do you know any dates? > > Regards, > Nikos > > [1] > http://opensource.atlassian.com/projects/spring/browse/SPR-308?page=comments > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > -- ____________________________________________________ Rod Johnson Interface21 - Spring Services from the Source http://www.springframework.com Founder, Spring Framework: http://www.springframework.org Author, "Expert One-on-One J2EE Development Without EJB" (May 2004, with Juergen Hoeller). http://www.amazon.com/exec/obidos/ASIN/0764558315/ Author, "Expert One-on-One J2EE Design and Development" (October 2002). http://www.amazon.com/exec/obidos/tg/detail/-/0764543857/ ____________________________________________________ Interface21 Limited Registered Office Summit House, 2-2a Highfield Road, Dartford, Kent DA1 2JY Registered in England and Wales No. 5187766 ____________________________________________________ |
|
From: Rob H. <ro...@ca...> - 2004-10-12 09:15:48
|
Jurgen, This is now fixed and committed. Rob jürgen höller [werk3AT] wrote: >Rob, > >Thanks - that's great! Does this mean that we can close this issue now? > >http://opensource.atlassian.com/projects/spring/browse/SPR-368 > >Juergen > > >________________________________ > >Von: spr...@li... im Auftrag von Rob Harrop >Gesendet: Fr 08.10.2004 01:39 >An: spr...@li... >Betreff: Re: [Springframework-developer] Re: Re: CGLIB side effect > > > >Doh! I made that change and it passes all tests now. I will tidy this up >a bit and then commit. > >Cheers Chris. > >Rob > >Chris Nokleberg wrote: > > > >>Rob Harrop wrote: >> >> >> >> >>>I took a look at your suggested workaround and I started the basics of >>>an implementation. The problem I came up against is that when the >>>constructor is invoked by CGLIB, which in turn invokes a method, say >>>setName(), the call to invokeSuper() by the interceptor fails with: >>> >>> >>> >>> >>Make sure you are passing the proxy as the first argument to invokeSuper, >>not the target. >> >>Also, it may be better to move the logic earlier, i.e. into >>DynamicAdvisedInterceptor instead of MethodInvocationImpl. >> >>Chris >> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>Use IT products in your business? Tell us what you think of them. Give us >>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>_______________________________________________ >>Springframework-developer mailing list >>Spr...@li... >>https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> >> >> >> >> > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > |
|
From: <al...@jt...> - 2004-10-11 22:34:12
|
<html><head>
<style>
.white { color:#FFFFFF }.index { background-color:#FFFFFF }.index-passed { =
color:#004400 }.index-failed { color:#FF0000; font-weight:bold }.index-head=
er { font-weight:bold }.link { font-family:arial,helvetica,sans-serif; font=
-size:10pt; color:#FFFFFF; text-decoration:none; }.tab-table { margin: 0em =
0em 0.5em 0em; }.tabs { font-family:arial,helvetica,sans-serif; font-size:8=
pt; color:#000000; font-weight:bold; padding: 0em 2em; background-color:#EE=
EEEE; }.tabs-link { color:#000000; text-decoration:none; }.tabs-link:visite=
d { color:#000000; text-decoration:none; }.tabs-selected { font-family:aria=
l,helvetica,sans-serif; font-size:8pt; color:#000000; font-weight:bold; pad=
ding: 0em 2em; }.tabs-selected { border: inset; }.header-title { font-famil=
y:arial,helvetica,sans-serif; font-size:12pt; color:#000000; font-weight:bo=
ld; }.header-label { font-weight:bold; }.header-data { font-family:arial,he=
lvetica,sans-serif; font-size:10pt; color:#000000; }.modifications-data { f=
ont-family:arial,helvetica,sans-serif; font-size:8pt; color:#000000; }.modi=
fications-sectionheader { background-color:#000066; font-family:arial,helve=
tica,sans-serif; font-size:10pt; color:#FFFFFF; }.modifications-oddrow { ba=
ckground-color:#CCCCCC }.modifications-evenrow { background-color:#FFFFCC }=
.changelists-oddrow { background-color:#CCCCCC }.changelists-evenrow { back=
ground-color:#FFFFCC }.changelists-file-spacer { background-color:#FFFFFF }=
.changelists-file-evenrow { background-color:#EEEEEE }.changelists-file-odd=
row { background-color:#FFFFEE }.changelists-file-header { background-color=
:#666666; font-family:arial,helvetica,sans-serif; font-size:8pt; color:#FFF=
FFF; }.compile-data { font-family:arial,helvetica,sans-serif; font-size:8pt=
; color:#000000; }.compile-error-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#FF0000; }.compile-warn-data { font-family:arial,=
helvetica,sans-serif; font-size:8pt; color:#CC9900; }.compile-sectionheader=
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-s=
ize:10pt; color:#FFFFFF; }.distributables-data { font-family:arial,helvetic=
a,sans-serif; font-size:8pt; color:#000000; }.distributables-sectionheader =
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-si=
ze:10pt; color:#FFFFFF; }.distributables-oddrow { background-color:#CCCCCC =
}.unittests-sectionheader { background-color:#000066; font-family:arial,hel=
vetica,sans-serif; font-size:10pt; color:#FFFFFF; }.unittests-oddrow { back=
ground-color:#CCCCCC }.unittests-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#000000; }.unittests-error { font-family:arial,he=
lvetica,sans-serif; font-size:8pt; color:#FF0000; }.checkstyle-oddrow { bac=
kground-color:#CCCCCC }.checkstyle-data { font-family:arial,helvetica,sans-=
serif; font-size:8pt; color:#000000; }.checkstyle-sectionheader { backgroun=
d-color:#000066; font-family:arial,helvetica,sans-serif; font-size:10pt; co=
lor:#FFFFFF; }
</style>
</head><body>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"header-title">BUILD COMPLETE - =
build.121</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>10/12/2004 00:19:22</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 23 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>10/11/2004 15:11:23</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>Renamed NoOpInterceptor SerializableNoOpInterceptor and ma=
de it public staticto allow use when using CGLIB elsewhere in the framework=
</td></tr></table><p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"/><p>
<p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"><tr><td class=
=3D"compile-sectionheader"> Errors/Warnings: (=
6) </td></tr><tr><td><pre class=3D"compile-error-data">N=
ote: Some input files use or override a deprecated API.<br class=3D"none"/>=
Note: Recompile with -deprecation for details.Note: /jteam/build/checkout/s=
pring/spring/mock/org/springframework/mock/web/MockHttpSession.java uses or=
overrides a deprecated API.<br class=3D"none"/>Note: Recompile with -depre=
cation for details.<br class=3D"none"/>Note: Some input files use or overri=
de a deprecated API.<br class=3D"none"/>Note: Recompile with -deprecation f=
or details.<br class=3D"none"/></pre></td></tr></table><p>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Tests: (1470) </td></tr><tr><td><tabl=
e width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"c=
enter"><tr><td class=3D"unittests-data"> failure =
</td><td width=3D"40%" class=3D"unittests-data">testHomePage</td><td width=
=3D"40%" class=3D"unittests-data">org.springframework.apptests.buildtest.Al=
lTests</td></tr></table></td></tr><tr></tr><tr><td colspan=3D"2"> </td=
></tr><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Test Error Details: (1) </td></tr><tr=
><td class=3D"unittests-data" colspan=3D"2"> Test: test=
HomePage</td></tr><tr><td class=3D"unittests-data" colspan=3D"2"> =
Class: org.springframework.apptests.buildtest.AllTests</td></tr>=
<tr><td class=3D"unittests-data" colspan=3D"2"> Type: junit.=
framework.AssertionFailedError</td></tr><tr><td class=3D"unittests-data" co=
lspan=3D"2"> Message: Exception while testing URL http://loc=
alhost:13084/buildtest:java.io.IOException</td></tr><tr><td class=3D"unitte=
sts-error" colspan=3D"2"><pre>junit.framework.AssertionFailedError: Excepti=
on while testing URL http://localhost:13084/buildtest:java.io.IOException<b=
r>=09at org.springframework.apptests.buildtest.AllTests.testHomePage(Unknow=
n Source)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth=
od)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess=
orImpl.java:39)<br>=09at sun.reflect.DelegatingMethodAccessorImpl.invoke(De=
legatingMethodAccessorImpl.java:25)<br></pre></td></tr><tr><td colspan=3D"2=
"> </td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"modifications-sectionheader"> =
Modifications since last build: =
(2) </td></tr><tr class=3D"modifications-evenrow"><td c=
lass=3D"modifications-data">modified</td><td class=3D"modifications-data">j=
ohnsonr</td><td class=3D"modifications-data">src/org/springframework/aop/fr=
amework/Cglib2AopProxy.java</td><td class=3D"modifications-data">Renamed No=
OpInterceptor SerializableNoOpInterceptor and made it public staticto allow=
use when using CGLIB elsewhere in the framework</td></tr><tr class=3D"modi=
fications-oddrow"><td class=3D"modifications-data">modified</td><td class=
=3D"modifications-data">johnsonr</td><td class=3D"modifications-data">test/=
org/springframework/aop/framework/autoproxy/AutoProxyCreatorTests.java</td>=
<td class=3D"modifications-data">Pulled one magic bean name into a constant=
</td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"distributables-sectionheader"> =
Deployments by this build: (8) </td><=
/tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/checko=
ut/spring/spring/dist/spring.jar</td></tr><tr class=3D"distributables-oddro=
w"><td class=3D"distributables-data">Building war: /jteam/build/checkout/sp=
ring/spring/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr><td c=
lass=3D"distributables-data">Building war: /jteam/build/checkout/spring/spr=
ing/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr class=3D"dist=
ributables-oddrow"><td class=3D"distributables-data">Building war: /jteam/b=
uild/checkout/spring/spring/autobuilds/apps/buildtest/dist/buildtest.war</t=
d></tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/che=
ckout/spring/spring/autobuilds/apps/jpetstore/war/WEB-INF/lib/jpetstore.jar=
</td></tr><tr class=3D"distributables-oddrow"><td class=3D"distributables-d=
ata">Building war: /jteam/build/checkout/spring/spring/autobuilds/apps/jpet=
store/dist/jpetstore.war</td></tr><tr><td class=3D"distributables-data">Bui=
lding jar: /jteam/build/checkout/spring/spring/autobuilds/apps/jpetstore/wa=
r/WEB-INF/lib/jpetstore.jar</td></tr><tr class=3D"distributables-oddrow"><t=
d class=3D"distributables-data">Building war: /jteam/build/checkout/spring/=
spring/autobuilds/apps/jpetstore/dist/jpetstore.war</td></tr></table>
</body></html> |
|
From: Rainer S. <Rai...@ab...> - 2004-10-11 13:34:19
|
Aloha! Another question regarding portlet support: Is it possible to redirect to another portlet controller as with RedirectView for servlets? Thanks, Rainer |
|
From: Nikos <pi...@o2...> - 2004-10-11 07:54:13
|
Rod Johnson wrote: >> Is there a proposed date for the Spring 1.2 release ? > > We expect the final release to be around Dec 04/Jan 05, although we > haven't announced a firm date yet. > >> Will the JMX support - currently in the sandbox - be included in the >> 1.2 release ? > > Yes. What about TopLink support in 1.2? According to [1] it will be shipped separately from Spring. Do you know any dates? Regards, Nikos [1] http://opensource.atlassian.com/projects/spring/browse/SPR-308?page=comments |
|
From: Keith D. <kd...@cs...> - 2004-10-10 23:53:22
|
>Regarding Assert: I've omitted all methods that use default messages = there, >because I believe that this is bad practice. Assert.nonNull(myRef) = would >throw a generic IllegalArgumentException, which is not really more = useful >that an NPE... There needs to be a specific message, for example: >Assert.nonNull(ds, "No DataSource specified"). While I certainly agree that assertions with descriptive failure = messages are much better than those with not, I feel general assertion checks = aren't bad programming practice. Any assert still catches the invariant/state violation when it happens and not later (for example, by having to track = it down manually via some symptomatic, cryptic NPE), which is the most compelling benefit of such checks. It's also really easy to jump to the spot in the code where the assertion was thrown to see what WAS = violated: the point is that it is caught early and before use. I actually worked on the cramped plane ride back from Oslo on improving = the Assert class and adding an additional Assert.state(expression, message) = that throws IllegalState. I've also been readying util.closure, = util.comparator, util.visitor for commit to the core util package with complete test = cases and javadocs. I'd like to commit these ASAP as they've been hanging = around in the sandbox for awhile; it's not much code, they're all generally = useful, and they're used in both in the rules code and spring-rich. Keith -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf = Of j=FCrgen h=F6ller [werk3AT] Sent: Sunday, October 10, 2004 11:23 AM To: spr...@li... Subject: [Springframework-developer] Latest internal reworkings Everybody, =20 I've reworked a couple of internal things over the past few days = (already committed): =20 * AbstractBeanFactory implements "destroyBean" functionality itself, = which was made possible by an earlier change in the dependency tracking = strategy. AbstractAutowireCapableBeanFactory is purely responsible for actual bean instance creation now. =20 * DefaultListableBeanFactory's "getBeansOfType" is completely = reimplemented now, always detecting FactoryBeans correctly (no matter if a FactoryBean implements other interfaces too or was registered as a manual = singleton). =20 * ProxyFactoryBean and AbstractPrototypeBasedTargetSource leverage BeanFactory's new "getType" method now, to determine the type upfront = before fetching bean instances (usually for prototypes). This works for child = bean definitions etc too now, not just for conventional beans. =20 * The "invokeJoinpointUsingReflection" has moved from aop.framework.AopProxyUtils to aop.support.AopUtils, to resolve a = subpackage interdependency (aop.framework should use aop.support, not the other way round). =20 * JdkDynamicAopProxy handles the "hashCode" method locally now, just = like it does for "equals". This is mainly necessary for remoting proxies, but = also for consistent behavior of a proxy's "equals" and "hashCode" methods = (i.e. always return same hash code if equals). =20 * HttpInvokerClientInterceptor and RmiClientInterceptor handle = "toString" invocations locally now, returning a description of the remoting proxy. "equals" and "hashCode" are handled locally too, through = JdkDynamicAopProxy (see above). =20 * I've moved the util.Assert class over from the sandbox, in a stripped = down fashion. It is used in a couple of places in the data access support = now, to catch null DataSource arguments etc early and in an obvious fashion. = Note that such stuff is usually caught by afterPropertiesSet, but only inside = a bean factory... =20 Regarding Assert: I've omitted all methods that use default messages = there, because I believe that this is bad practice. Assert.nonNull(myRef) would throw a generic IllegalArgumentException, which is not really more = useful that an NPE... There needs to be a specific message, for example: Assert.nonNull(ds, "No DataSource specified"). =20 Most of the above is about improvements and optimizations in the = internals, also solving corner cases in behavior. While all tests pass again, there could be undiscovered side effects: Therefore, I'd like to encourage everybody to test the current CVS contents as thoroughly as possible. = 1.1.2 is still 4 weeks away, but it's never too early to start testing :-) =20 Juergen ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give = us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out = more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <al...@jt...> - 2004-10-10 22:30:49
|
<html><head>
<style>
.white { color:#FFFFFF }.index { background-color:#FFFFFF }.index-passed { =
color:#004400 }.index-failed { color:#FF0000; font-weight:bold }.index-head=
er { font-weight:bold }.link { font-family:arial,helvetica,sans-serif; font=
-size:10pt; color:#FFFFFF; text-decoration:none; }.tab-table { margin: 0em =
0em 0.5em 0em; }.tabs { font-family:arial,helvetica,sans-serif; font-size:8=
pt; color:#000000; font-weight:bold; padding: 0em 2em; background-color:#EE=
EEEE; }.tabs-link { color:#000000; text-decoration:none; }.tabs-link:visite=
d { color:#000000; text-decoration:none; }.tabs-selected { font-family:aria=
l,helvetica,sans-serif; font-size:8pt; color:#000000; font-weight:bold; pad=
ding: 0em 2em; }.tabs-selected { border: inset; }.header-title { font-famil=
y:arial,helvetica,sans-serif; font-size:12pt; color:#000000; font-weight:bo=
ld; }.header-label { font-weight:bold; }.header-data { font-family:arial,he=
lvetica,sans-serif; font-size:10pt; color:#000000; }.modifications-data { f=
ont-family:arial,helvetica,sans-serif; font-size:8pt; color:#000000; }.modi=
fications-sectionheader { background-color:#000066; font-family:arial,helve=
tica,sans-serif; font-size:10pt; color:#FFFFFF; }.modifications-oddrow { ba=
ckground-color:#CCCCCC }.modifications-evenrow { background-color:#FFFFCC }=
.changelists-oddrow { background-color:#CCCCCC }.changelists-evenrow { back=
ground-color:#FFFFCC }.changelists-file-spacer { background-color:#FFFFFF }=
.changelists-file-evenrow { background-color:#EEEEEE }.changelists-file-odd=
row { background-color:#FFFFEE }.changelists-file-header { background-color=
:#666666; font-family:arial,helvetica,sans-serif; font-size:8pt; color:#FFF=
FFF; }.compile-data { font-family:arial,helvetica,sans-serif; font-size:8pt=
; color:#000000; }.compile-error-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#FF0000; }.compile-warn-data { font-family:arial,=
helvetica,sans-serif; font-size:8pt; color:#CC9900; }.compile-sectionheader=
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-s=
ize:10pt; color:#FFFFFF; }.distributables-data { font-family:arial,helvetic=
a,sans-serif; font-size:8pt; color:#000000; }.distributables-sectionheader =
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-si=
ze:10pt; color:#FFFFFF; }.distributables-oddrow { background-color:#CCCCCC =
}.unittests-sectionheader { background-color:#000066; font-family:arial,hel=
vetica,sans-serif; font-size:10pt; color:#FFFFFF; }.unittests-oddrow { back=
ground-color:#CCCCCC }.unittests-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#000000; }.unittests-error { font-family:arial,he=
lvetica,sans-serif; font-size:8pt; color:#FF0000; }.checkstyle-oddrow { bac=
kground-color:#CCCCCC }.checkstyle-data { font-family:arial,helvetica,sans-=
serif; font-size:8pt; color:#000000; }.checkstyle-sectionheader { backgroun=
d-color:#000066; font-family:arial,helvetica,sans-serif; font-size:10pt; co=
lor:#FFFFFF; }
</style>
</head><body>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"header-title">BUILD COMPLETE - =
build.120</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>10/11/2004 00:16:53</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 21 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>10/10/2004 15:50:43</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>Polishing</td></tr></table><p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"/><p>
<p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"><tr><td class=
=3D"compile-sectionheader"> Errors/Warnings: (=
6) </td></tr><tr><td><pre class=3D"compile-error-data">N=
ote: Some input files use or override a deprecated API.<br class=3D"none"/>=
Note: Recompile with -deprecation for details.Note: /jteam/build/checkout/s=
pring/spring/mock/org/springframework/mock/web/MockHttpSession.java uses or=
overrides a deprecated API.<br class=3D"none"/>Note: Recompile with -depre=
cation for details.<br class=3D"none"/>Note: Some input files use or overri=
de a deprecated API.<br class=3D"none"/>Note: Recompile with -deprecation f=
or details.<br class=3D"none"/></pre></td></tr></table><p>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Tests: (1470) </td></tr><tr><td><tabl=
e width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"c=
enter"><tr><td class=3D"unittests-data"> failure =
</td><td width=3D"40%" class=3D"unittests-data">testHomePage</td><td width=
=3D"40%" class=3D"unittests-data">org.springframework.apptests.buildtest.Al=
lTests</td></tr></table></td></tr><tr></tr><tr><td colspan=3D"2"> </td=
></tr><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Test Error Details: (1) </td></tr><tr=
><td class=3D"unittests-data" colspan=3D"2"> Test: test=
HomePage</td></tr><tr><td class=3D"unittests-data" colspan=3D"2"> =
Class: org.springframework.apptests.buildtest.AllTests</td></tr>=
<tr><td class=3D"unittests-data" colspan=3D"2"> Type: junit.=
framework.AssertionFailedError</td></tr><tr><td class=3D"unittests-data" co=
lspan=3D"2"> Message: Exception while testing URL http://loc=
alhost:13084/buildtest:java.io.IOException</td></tr><tr><td class=3D"unitte=
sts-error" colspan=3D"2"><pre>junit.framework.AssertionFailedError: Excepti=
on while testing URL http://localhost:13084/buildtest:java.io.IOException<b=
r>=09at org.springframework.apptests.buildtest.AllTests.testHomePage(Unknow=
n Source)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth=
od)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess=
orImpl.java:39)<br>=09at sun.reflect.DelegatingMethodAccessorImpl.invoke(De=
legatingMethodAccessorImpl.java:25)<br></pre></td></tr><tr><td colspan=3D"2=
"> </td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"modifications-sectionheader"> =
Modifications since last build: =
(4) </td></tr><tr class=3D"modifications-evenrow"><td c=
lass=3D"modifications-data">modified</td><td class=3D"modifications-data">a=
arendsen</td><td class=3D"modifications-data">src/org/springframework/web/s=
ervlet/view/AbstractCachingViewResolver.java</td><td class=3D"modifications=
-data">Polishing</td></tr><tr class=3D"modifications-oddrow"><td class=3D"m=
odifications-data">modified</td><td class=3D"modifications-data">robharrop<=
/td><td class=3D"modifications-data">src/org/springframework/aop/framework/=
Cglib2AopProxy.java</td><td class=3D"modifications-data">Fixed SPR-368</td>=
</tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data">m=
odified</td><td class=3D"modifications-data">robharrop</td><td class=3D"mod=
ifications-data">test/org/springframework/aop/framework/CglibProxyTests.jav=
a</td><td class=3D"modifications-data">Fixed SPR-368</td></tr><tr class=3D"=
modifications-oddrow"><td class=3D"modifications-data">added</td><td class=
=3D"modifications-data">robharrop</td><td class=3D"modifications-data">test=
/org/springframework/aop/framework/CglibTestBean.java</td><td class=3D"modi=
fications-data">Fixed SPR-368</td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"distributables-sectionheader"> =
Deployments by this build: (8) </td><=
/tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/checko=
ut/spring/spring/dist/spring.jar</td></tr><tr class=3D"distributables-oddro=
w"><td class=3D"distributables-data">Building war: /jteam/build/checkout/sp=
ring/spring/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr><td c=
lass=3D"distributables-data">Building war: /jteam/build/checkout/spring/spr=
ing/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr class=3D"dist=
ributables-oddrow"><td class=3D"distributables-data">Building war: /jteam/b=
uild/checkout/spring/spring/autobuilds/apps/buildtest/dist/buildtest.war</t=
d></tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/che=
ckout/spring/spring/autobuilds/apps/jpetstore/war/WEB-INF/lib/jpetstore.jar=
</td></tr><tr class=3D"distributables-oddrow"><td class=3D"distributables-d=
ata">Building war: /jteam/build/checkout/spring/spring/autobuilds/apps/jpet=
store/dist/jpetstore.war</td></tr><tr><td class=3D"distributables-data">Bui=
lding jar: /jteam/build/checkout/spring/spring/autobuilds/apps/jpetstore/wa=
r/WEB-INF/lib/jpetstore.jar</td></tr><tr class=3D"distributables-oddrow"><t=
d class=3D"distributables-data">Building war: /jteam/build/checkout/spring/=
spring/autobuilds/apps/jpetstore/dist/jpetstore.war</td></tr></table>
</body></html> |
|
From: Rob H. <ro...@ca...> - 2004-10-10 10:30:02
|
Jurgen, Yep, you can close this now. I have committed the change along with a test case for this problem. Rob jürgen höller [werk3AT] writes: > Rob, > > Thanks - that's great! Does this mean that we can close this issue now? > > http://opensource.atlassian.com/projects/spring/browse/SPR-368 > > Juergen > > > ________________________________ > > Von: spr...@li... im Auftrag von Rob Harrop > Gesendet: Fr 08.10.2004 01:39 > An: spr...@li... > Betreff: Re: [Springframework-developer] Re: Re: CGLIB side effect > > > > Doh! I made that change and it passes all tests now. I will tidy this up > a bit and then commit. > > Cheers Chris. > > Rob > > Chris Nokleberg wrote: > >>Rob Harrop wrote: >> >> >>>I took a look at your suggested workaround and I started the basics of >>>an implementation. The problem I came up against is that when the >>>constructor is invoked by CGLIB, which in turn invokes a method, say >>>setName(), the call to invokeSuper() by the interceptor fails with: >>> >>> >> >>Make sure you are passing the proxy as the first argument to invokeSuper, >>not the target. >> >>Also, it may be better to move the logic earlier, i.e. into >>DynamicAdvisedInterceptor instead of MethodInvocationImpl. >> >>Chris >> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>Use IT products in your business? Tell us what you think of them. Give us >>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>_______________________________________________ >>Springframework-developer mailing list >>Spr...@li... >>https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> >> >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <jue...@we...> - 2004-10-10 09:26:56
|
Rob, =20 Thanks - that's great! Does this mean that we can close this issue now? =20 http://opensource.atlassian.com/projects/spring/browse/SPR-368 =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Rob Harrop Gesendet: Fr 08.10.2004 01:39 An: spr...@li... Betreff: Re: [Springframework-developer] Re: Re: CGLIB side effect Doh! I made that change and it passes all tests now. I will tidy this up a bit and then commit. Cheers Chris. Rob Chris Nokleberg wrote: >Rob Harrop wrote: >=20 > >>I took a look at your suggested workaround and I started the basics of >>an implementation. The problem I came up against is that when the >>constructor is invoked by CGLIB, which in turn invokes a method, say >>setName(), the call to invokeSuper() by the interceptor fails with: >> =20 >> > >Make sure you are passing the proxy as the first argument to = invokeSuper, >not the target. > >Also, it may be better to move the logic earlier, i.e. into >DynamicAdvisedInterceptor instead of MethodInvocationImpl. > >Chris > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on = ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give = us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out = more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > >=20 > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give = us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out = more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <jue...@we...> - 2004-10-10 09:21:31
|
Everybody, =20 I've reworked a couple of internal things over the past few days = (already committed): =20 * AbstractBeanFactory implements "destroyBean" functionality itself, = which was made possible by an earlier change in the dependency tracking = strategy. AbstractAutowireCapableBeanFactory is purely responsible for = actual bean instance creation now. =20 * DefaultListableBeanFactory's "getBeansOfType" is completely = reimplemented now, always detecting FactoryBeans correctly (no matter if = a FactoryBean implements other interfaces too or was registered as a = manual singleton). =20 * ProxyFactoryBean and AbstractPrototypeBasedTargetSource leverage = BeanFactory's new "getType" method now, to determine the type upfront = before fetching bean instances (usually for prototypes). This works for = child bean definitions etc too now, not just for conventional beans. =20 * The "invokeJoinpointUsingReflection" has moved from = aop.framework.AopProxyUtils to aop.support.AopUtils, to resolve a = subpackage interdependency (aop.framework should use aop.support, not = the other way round). =20 * JdkDynamicAopProxy handles the "hashCode" method locally now, just = like it does for "equals". This is mainly necessary for remoting = proxies, but also for consistent behavior of a proxy's "equals" and = "hashCode" methods (i.e. always return same hash code if equals). =20 * HttpInvokerClientInterceptor and RmiClientInterceptor handle = "toString" invocations locally now, returning a description of the = remoting proxy. "equals" and "hashCode" are handled locally too, through = JdkDynamicAopProxy (see above). =20 * I've moved the util.Assert class over from the sandbox, in a stripped = down fashion. It is used in a couple of places in the data access = support now, to catch null DataSource arguments etc early and in an = obvious fashion. Note that such stuff is usually caught by = afterPropertiesSet, but only inside a bean factory... =20 Regarding Assert: I've omitted all methods that use default messages = there, because I believe that this is bad practice. = Assert.nonNull(myRef) would throw a generic IllegalArgumentException, = which is not really more useful that an NPE... There needs to be a = specific message, for example: Assert.nonNull(ds, "No DataSource = specified"). =20 Most of the above is about improvements and optimizations in the = internals, also solving corner cases in behavior. While all tests pass = again, there could be undiscovered side effects: Therefore, I'd like to = encourage everybody to test the current CVS contents as thoroughly as = possible. 1.1.2 is still 4 weeks away, but it's never too early to start = testing :-) =20 Juergen |