Bill,
When you get to coding this, send me an email. I already have an attribute
in the cmp config file for this. I think there should be one place to mark
the entire entity as read-only. I haven't been following this discussion,
but I think I understand why we need to move the declaration up to the
jboss.xml file.
-dain
> -----Original Message-----
> From: Bill Burke [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 06, 2001 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-dev] TRANSACTIONS
>
>
> For 3.0
>
> 1. You have to add a read-only attribute to jboss.xml for entities
> 2. In EntityLockingInterceptor in initialization set the
> BeanLockManager's
> lockClass to MethodOnlyLock
> 3. In EntitySynchronizationInterceptor, dont register entity with
> transaction if read-only.
>
> This should be pretty easy, it's just that it takes time to
> code, compile
> and test.
>
> Bill
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Ferguson, Doug
> > Sent: Thursday, September 06, 2001 3:30 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [JBoss-dev] TRANSACTIONS
> >
> >
> > I am interested, do you have any rough ideas for the
> > implementation/ what is
> > required?
> >
> >
> > -----Original Message-----
> > From: Bill Burke [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 06, 2001 2:04 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-dev] TRANSACTIONS
> >
> >
> > MethodOnlyLock is a part of 2.4.1, but the read-only thing
> isn't. I won't
> > have time to implement this for a couple of weeks. You'll
> have to get
> > somebody else to step up to the plate, or you can go in there
> > yourself. If
> > you decide to go in there yourself, you must have somebody review
> > this code
> > before you can commit. I'd be happy to review it if you
> implemented it.
> >
> > Bill
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > > Ferguson, Doug
> > > Sent: Thursday, September 06, 2001 2:47 PM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: RE: [JBoss-dev] TRANSACTIONS
> > >
> > >
> > > Will this be part of 2.4.1?
> > >
> > > d.
> > >
> > > -----Original Message-----
> > > From: Bill Burke [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, September 06, 2001 12:52 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [JBoss-dev] TRANSACTIONS
> > >
> > >
> > > Right now, you can use the MethodONly Lock, but I haven't made
> > changes to
> > > jboss.xml so that you can mark an entity as read-only and the
> > > EntitySynchInterceptor will behave differently.
> > >
> > > Bill
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]On
> > Behalf Of marc
> > > > fleury
> > > > Sent: Thursday, September 06, 2001 1:37 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: [JBoss-dev] TRANSACTIONS
> > > >
> > > >
> > > > |There is a MethodOnlyLock that you can put in for read-only
> > > beans, but I
> > > > |eventually want to extend this so that read-only beans never
> > > > become part of
> > > > |the transaction.
> > > >
> > > > interesting, and all configurable in jboss.xml yes?
> > > >
> > > > marcf
> > > >
> > > >
> > > > _______________________________________________
> > > > Jboss-development mailing list
> > > > [EMAIL PROTECTED]
> > > > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Jboss-development mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > >
> > > _______________________________________________
> > > Jboss-development mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > >
> >
> >
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> >
>
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development