[jboss-user] [JBoss Seam] - Re: jBPM and @Unwrap question
gavin.king@jboss.com
do-not-reply at jboss.com
Fri Nov 3 11:31:13 EST 2006
Just subclass Actor like this:
@Name("actor")
| public class AutoActor
| {
| public String getId() { return UserPrincipal.instance().getName(); }
| ...
| }
Or maybe:
@Name("actor")
| public class AutoActor
| {
|
| @Create
| public void init() { setId( UserPrincipal.instance().getName() ); }
| ...
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983021#3983021
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983021
More information about the jboss-user
mailing list