Sorry about the missing the code tags! My bad, here is my setup
Foo is not really a Seam component but I make it available through the Seam
manager pattern. SeamComp1 is a typical JavaBean seam component with Name and
Scope(EVENT) annotations.
|
| public abstract AbstractFoo {
| @In
| private SeamComp1 seamcomp1;
|
| init() {
| seamcomp1.getSomething();
| }
| }
|
| public Foo extends AbstractFoo {
| public Foo() {
| init();
| }
| }
|
| @Name("foo")
| @Scope(EVENT)
| public class FooMgr {
| @Unwrap
| public Foo getFoo() {
| return new Foo();
| }
| }
|
Hope my setup is clear.
Thanks in advance for all the help!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014206#4014206
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014206
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user