[webbeans-dev] AnnotationLiteral -- must be direct subclass
by Pete Muir
Any reason why we require
if (!(getClass().getSuperclass() == AnnotationLiteral.class))
{
throw new RuntimeException(
"Not a direct subclass of AnnotationLiteral");
}
this stops me using annotation literals as an anonymous inner class
AFACIT (as you can't use implement when defining one).
15 years, 11 months
[webbeans-dev] Use of Class<Annotation>
by Pete Muir
Can we change all instances of this in the API to Class<? extends
Annotation> as this is consistent with annotation.annotationType() and
foo.getClass()?
Actually, I don't think Class<Annotation> is correct at all, as this
would imply we are only ever returning Annotation.class from this
method, not some subclass thereof.
I'm going to run with this locally.
15 years, 11 months
[webbeans-dev] Development
by Nicklas Karlsson
Hi,
1. Is seam committer == web beans committer or do you have to apply
for access?
2. Is it too soon to start touching other peoples code or should we
allow the code to "settle" for a while?
Started browsing through the code and noticed small things like
AnnotationDB.scanClass:
if (scanClassAnnotations) ;
scanClass(cf);
---
Nik
15 years, 11 months
Re: [webbeans-dev] Web beans implementation plan
by Pete Muir
Great,
I didn't do much to ObserverMethod, just replaced with a generic
version using the decorator pattern.
On 20 Oct 2008, at 09:21, David Allen wrote:
> Pete,
>
> What you have below is mostly done. I was just writing unit tests
> and trying to get a couple methods completed that are still a bit of
> a problem (rather low-level stuff though). In any event, all of it
> should be completely done this week including the unit tests.
>
> I still need to look over the ObserverMethod that you removed and
> how that is suppose to work now, since we still need something that
> represents the method so that it can be invoked later.
>
> - David
>
> On Mon, Oct 20, 2008 at 12:30 AM, Pete Muir <pmuir(a)redhat.com> wrote:
>
> On 19 Oct 2008, at 20:27, Pete Muir wrote:
>
> Done == up to date with current spec with tests for all spec
> assertions.
> Mostly done == at least done to the spec in June, probably done to
> recent changes with complete tests or test stubs for all spec
> assertions.
>
> Shane, David, can you guys confirm where you got to/how up to date
> you are with what Gavin sent?
>
> Gavin, I've tried to update the API classes, but it would be great
> if you could review it and make changes as needed.
>
> On 16 Oct 2008, at 21:55, Gavin King wrote:
>
> We now really need to get going on the RI. I've attached the latest
> draft.
>
> Here's a list of tasks in order. Note that we can write tests for each
> step, without needing stuff from the next step!
>
> * basic Manager functionality: resolveByType(), resolveByName(),
> addBean()
>
> Implemented, no tests.
>
> Now checked in, tests tomorrow :-)
>
>
>
>
>
> * instantiation: getInstance(), getInstanceByType(),
> getInstanceByName()
>
> * basic support for simple Web Beans
>
> Mostly done
>
>
> * specialization
>
> I was planning to put this in the beta bucket.
>
>
> * dependent pseudo-context
>
> Shane, did you do this?
>
>
> * request and application contexts
>
> Mostly done I think. Shane?
>
>
> * injected fields, intializer methods, Web Bean constructors
>
> Mostly done (initializer methods aren't)
>
> * producer methods
>
> Mostly done.
>
>
> * disposal methods
>
> Mostly done.
>
>
> * @New
>
> Not done
>
>
> * interceptors
>
> Not done
>
>
> * decorators
>
> Not done, I would leave this to the beta
>
>
> * stereotypes
>
> Done.
>
>
> * scope adaptors
>
> Shane, did you do this?
>
>
> * basic event bus: fireEvent(), addObserver()
>
> Done I think. David?
>
>
> * observer methods
>
> Done I think. David?
>
>
> * @Observable Event<X>
>
> Done I think. David?
>
>
> * Web Bean discovery & initialization event
>
> Basic stuff done. But needs quite a lot more work.
>
>
> * Java EE integration
>
> Not done.
>
>
> * session context
>
> Done I think, Shane?
>
>
> * basic support for enterprise Web Beans
>
> Mostly done.
>
>
> * Web Bean remove methods
>
> Mostly done.
>
>
> * passivating scope support
>
> Shane?
>
>
> ---- ALPHA RELEASE
> * JMS endpoints
>
> Not done.
>
>
> * web-beans.xml
>
> Parsing not done, but rules for reading from XML vs. Java are mainly
> done for the stuff that is marked Done or Mostly Done.
>
>
> * conversation context
>
> Done I think, Shane?
>
>
> * ejb-jar.xml
>
> Parsing not written, rules for reading from ejb-jar/ejb annotations
> done.
>
>
> * support for common annotations
>
> Not done.
>
>
> ---- BETA RELEASE
>
> Obviously, we don't need to do things in *exactly* that order, but I
> think it's a good overall ordering.
>
> I think that most of these tasks are one day or less of work, though
> some of them, particularly toward the end are more than that.
>
> I would like to target the alpha release for this year :-)
>
>
>
>
>
> WDYT?
>
> --
> Gavin King
> gavin.king(a)gmail.com
> http://in.relation.to/Bloggers/Gavin
> http://hibernate.org
> http://seamframework.org
> <Web Beans
> 20081016.pdf>_______________________________________________
> webbeans-dev mailing list
> webbeans-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
15 years, 11 months