[jboss-jira] [JBoss JIRA] Created: (AS7-859) On same named private lifecycle callbacks the super class callback is not called
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Fri May 20 07:07:00 EDT 2011
On same named private lifecycle callbacks the super class callback is not called
--------------------------------------------------------------------------------
Key: AS7-859
URL: https://issues.jboss.org/browse/AS7-859
Project: Application Server 7
Issue Type: Bug
Components: EJB
Reporter: Carlo de Wolf
Priority: Critical
{noformat}
diff --git a/testsuite/integration/src/test/java/org/jboss/as/testsuite/integration/ejb/interceptor/lifecycle/order/SFSBChild.java b/testsuite/integration/src/test/java/org/jboss/as/testsuite/integration/ejb/interceptor/lifecycle/order/SF
index 7f32869..97fe239 100644
--- a/testsuite/integration/src/test/java/org/jboss/as/testsuite/integration/ejb/interceptor/lifecycle/order/SFSBChild.java
+++ b/testsuite/integration/src/test/java/org/jboss/as/testsuite/integration/ejb/interceptor/lifecycle/order/SFSBChild.java
@@ -37,7 +37,7 @@ public class SFSBChild extends SFSBParent {
public static boolean childPostConstructCalled = false;
@PostConstruct
- public void child() {
+ private void postConstruct() {
childPostConstructCalled = true;
Assert.assertTrue(SFSBParent.parentPostConstructCalled);
Assert.assertTrue(InterceptorParent.parentPostConstructCalled);
diff --git a/testsuite/integration/src/test/java/org/jboss/as/testsuite/integration/ejb/interceptor/lifecycle/order/SFSBParent.java b/testsuite/integration/src/test/java/org/jboss/as/testsuite/integration/ejb/interceptor/lifecycle/order/S
index d356784..e8d13c4 100644
--- a/testsuite/integration/src/test/java/org/jboss/as/testsuite/integration/ejb/interceptor/lifecycle/order/SFSBParent.java
+++ b/testsuite/integration/src/test/java/org/jboss/as/testsuite/integration/ejb/interceptor/lifecycle/order/SFSBParent.java
@@ -33,7 +33,7 @@ public class SFSBParent {
public static boolean parentPostConstructCalled = false;
@PostConstruct
- public void parent() {
+ private void postConstruct() {
parentPostConstructCalled = true;
Assert.assertTrue(InterceptorChild.childPostConstructCalled);
Assert.assertTrue(InterceptorParent.parentPostConstructCalled);
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list