Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed some more bugs with observer methods and implemented the tests …
…through 8.5.2 for events. git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@472 1c488680-804c-0410-94cd-c6b725194a0e
- Loading branch information
Showing
4 changed files
with
62 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
webbeans-ri/src/test/java/org/jboss/webbeans/test/ejb/model/valid/BullTerrier.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.jboss.webbeans.test.ejb.model.valid; | ||
|
||
import javax.ejb.Stateless; | ||
import javax.webbeans.Observes; | ||
|
||
import org.jboss.webbeans.test.annotations.Role; | ||
import org.jboss.webbeans.test.annotations.Tame; | ||
|
||
@Stateless | ||
public class BullTerrier | ||
{ | ||
public void observesBadEvent(@Observes @Role("Admin") @Tame String someEvent) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters