forked from wildfly/wildfly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d78387
commit 80f96e6
Showing
5 changed files
with
37 additions
and
2 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
26 changes: 26 additions & 0 deletions
26
...st/java/org/jboss/as/test/integration/ejb/stateful/passivation/PassivationSuperClass.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,26 @@ | ||
package org.jboss.as.test.integration.ejb.stateful.passivation; | ||
|
||
import javax.annotation.PostConstruct; | ||
|
||
/** | ||
* AS7-3716 | ||
* | ||
* We also need to make sure that a beans super class is still serialized even when it is not | ||
* marked serializable | ||
* | ||
* @author Stuart Douglas | ||
*/ | ||
public class PassivationSuperClass { | ||
|
||
private Employee superEmployee; | ||
|
||
@PostConstruct | ||
private void postConstruct() { | ||
superEmployee = new Employee(); | ||
superEmployee.setName("Super"); | ||
} | ||
|
||
public Employee getSuperEmployee() { | ||
return superEmployee; | ||
} | ||
} |
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