Seam 2.0.1CR1
Method with @Observer("org.jboss.seam.security.loggedOut") is not being
recognised as event to fire.
I also tried org.jboss.seam.loggedOut and @Observer(Identity.EVENT_LOGGED_OUT) but same
thing.
Using debugger shows Seam's Identity.logout() attempts to raise event but there is no
event to be raised as
Event.raiseEvent() method shows List variable 'observers' being null.
Any clues please?
| Seam Events.java
|
| public void raiseEvent(String type, Object... parameters)
| {
| ...
| List<Init.ObserverMethod> observers = Init.instance().getObserverMethods(type);
| List<Init.ObserverMethod> observers =
Init.instance().getObserverMethods(type);
| if (observers!=null)
| {
| ...
|
| }
| }
|
|
|
| My Authenticator.java
|
| @Observer("org.jboss.seam.security.loggedOut")
| public void logout() {
| activityLog.logOrgUser(orgUserAuthenticated.getUser(), ActivityLogger.Code.LOGOUT,
null);
| }
|
| More details on this post:
|
http://jboss.com/index.html?module=bb&op=viewtopic&t=128184
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122425#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...