tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "D&J Gredler" <djgred...@gmail.com>
Subject Re: svn commit: r524122 - in /tapestry/tapestry5/tapestry-core/trunk/src: main/java/org/apache/tapestry/annotations/ main/java/org/apache/tapestry/internal/services/ main/java/org/apache/tapestry/services/ main/java/org/apache/tapestry/test/ site/apt
Date Sat, 31 Mar 2007 04:30:57 GMT
Very interesting... thanks for the correction, then!

On 3/31/07, Howard Lewis Ship <hlship@gmail.com> wrote:
>
> Nope; all of the injections operate only on private instance variables.
>
> Nothing prevents you from creating a getter method however.
>
> Once you have visibilities that are greater than private, it makes the
> Tapestry AOP operations orders of magnitude more difficult. You have
> to find references to the field across many different classes
> (potentially) rather than just within a single class.
>
> T5 limits all of the manipulations to just private instance variables
> because of this issue.
>
> On 3/30/07, D&J Gredler <djgredler@gmail.com> wrote:
> > Hi Howard,
> >
> > The documentation you checked in states "It must be type boolean and
> must be
> > a private instance variable."
> >
> > Is this true? Must the field be private? Can it not be protected, for
> > example?
> >
> > Thanks,
> >
> > Daniel
> >
> >
> > On 3/30/07, hlship@apache.org <hlship@apache.org> wrote:
> > >
> > > Author: hlship
> > > Date: Fri Mar 30 08:25:06 2007
> > > New Revision: 524122
> > >
> > > URL: http://svn.apache.org/viewvc?view=rev&rev=524122
> > > Log:
> > > TAPESTRY-1368: The @ApplicationState annotation should be capable of
> > > enhancing a boolean field to indicate whether the state object already
> > > exists
> > >
> > > Modified:
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/annotations/ApplicationState.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/services/ApplicationStateManagerImpl.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/services/ApplicationStateWorker.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/internal/services/SessionApplicationStatePersistenceStrategy.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/ApplicationStateManager.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/ApplicationStatePersistenceStrategy.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/services/ClassTransformation.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/test/TapestryTestCase.java
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/site/apt/guide/appstate.apt
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/ApplicationStateManagerImplTest.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/ApplicationStateWorkerTest.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/InternalClassTransformationImplTest.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/SessionApplicationStatePersistenceStrategyTest.java
> > >
> > >
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/StateHolder.java
> > > <snip>
> > >
> >
>
>
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message