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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user