[jboss-user] [JBoss Seam] - Is it possible to create a generics SFSB

gus888 do-not-reply at jboss.com
Tue Dec 5 00:09:13 EST 2006


Hi all,

I am wondering whether it is possible to create a generics SFSB like:
@Stateful
  | @Name("experimentEditor")
  | @Scope(ScopeType.CONVERSATION)
  | public class ExperimentEditorBean<T> implements ExperimentEditor<T> {
  | 			
  | 	T instance;
  | 	......
  | }
Then I try to use a SLSF to pass a concrete T instance to the SFSB, but I don't have any idea how to code it. Any guidance? I really appreciate it.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991188



More information about the jboss-user mailing list