| @Name("myComponent")
  | public class MyComponentManager {
  | 
  |    private MyComponent myComponent;
  |   
  |    public MyComponentManager() {
  |       myComponent = MyComponentFactory.getInstance();
  |    }
  | 
  |    @Unwrap
  |    public MyComponent getMyComponent() {
  |       return myComponent;
  |    }
  | 


  | ...
  | @In(create=true)
  | private MyComponent myComponent;
  | ...
  | 

Where MyComponent is a third-party non-seam-managed interface (e.g. something 
from your reporting library) and MyComponentFactory retrives an implementation 
for MyComponent.

HTH

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965516#3965516

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965516
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to