Very interesting... thanks for the correction, then!

On 3/31/07, Howard Lewis Ship <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to