Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SOLDER-81 make LoggerProducers serializable
- make LoggerProducers serializable - add test - remove jboss.i18n.generate-proxies from test setup
- Loading branch information
1 parent
1b150ea
commit c2020e4
Showing
4 changed files
with
35 additions
and
7 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
19 changes: 19 additions & 0 deletions
19
impl/src/test/java/org/jboss/seam/solder/test/log/BaldEagle.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,19 @@ | ||
package org.jboss.seam.solder.test.log; | ||
|
||
import java.io.Serializable; | ||
|
||
import javax.enterprise.context.SessionScoped; | ||
import javax.inject.Inject; | ||
|
||
import org.jboss.seam.solder.log.Category; | ||
|
||
@SessionScoped | ||
public class BaldEagle implements Serializable { | ||
@Inject @Category("Birds") | ||
private BirdLogger logger; | ||
|
||
public void generateLogMessage() | ||
{ | ||
logger.logBaldEaglesSpotted(2); | ||
} | ||
} |
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