[jboss-user] [JBoss Tools] - Error: "Factory Method ... with a void return type must have an associated @Out/Databinder"
Daniel Posch
do-not-reply at jboss.com
Mon Apr 12 05:45:36 EDT 2010
Daniel Posch [http://community.jboss.org/people/poschd] created the discussion
"Error: "Factory Method ... with a void return type must have an associated @Out/Databinder""
To view the discussion, visit: http://community.jboss.org/message/536834#536834
--------------------------------------------------------------
Hi everyone,
the following piece of code causes the error 'Factory Method "somethings" with a void return type must have an associated @Out/Databinder' to be displayed. However, in my opinion there's nothing wrong. Actually, everything works. Is this an expected behavior?
Best Regards, Daniel
@Name("somethingManager")
@Scope(ScopeType.CONVERSATION)
public class SomethingManager implements Serializable {
@DataModel("somethings")
@Out
private List<Something> somethingList;
@DataModelSelection
@Out(value = "something", required = false, scope = ScopeType.SESSION)
private Hardware selectedSomething;
@Factory(value = "somethings") // !Error is displayed right here!
public void findHardware() { //...
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536834#536834]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100412/97c508fe/attachment.html
More information about the jboss-user
mailing list