Skip to content

Commit 74ea497

Browse files
committed
Remove extra lifecycle callback param
Per the interceptor spec Lifecycle callback interceptor methods defined on a target class should have the following signature void <METHOD>()
1 parent dd6c3f8 commit 74ea497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ejb/lifecycle/src/main/java/org/javaee7/ejb/lifecycle/MyStatefulBean.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ private void preDestroy() {
3535
}
3636

3737
@PrePassivate
38-
private void prePassivate(InvocationContext context) {
38+
private void prePassivate() {
3939
System.out.println("MyStatefulBean.prePassivate");
4040
}
4141

4242
@PostActivate
43-
private void postActivate(InvocationContext context) {
43+
private void postActivate() {
4444
System.out.println("MyStatefulBean.postActivate");
4545
}
4646

0 commit comments

Comments
 (0)