-
Notifications
You must be signed in to change notification settings - Fork 32
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
Ian Hlavats
committed
Jun 5, 2013
1 parent
f92757f
commit 1b8aad9
Showing
12 changed files
with
48 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ | |
|
||
/** | ||
* | ||
* This filter handles the {@link NonexistentConversationException) propagating | ||
* This filter handles the {@link NonexistentConversationException} propagating | ||
* from CDI for requests containing an invalid conversation ID (cid parameter). | ||
* | ||
* @author Ian Hlavats ([email protected]) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,12 @@ | |
import org.slf4j.Logger; | ||
import org.slf4j.LoggerFactory; | ||
|
||
/** | ||
* Base class for service implementations. | ||
* | ||
* @author Ian Hlavats ([email protected]) | ||
* | ||
*/ | ||
public abstract class AbstractService { | ||
|
||
@PersistenceContext | ||
|
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 |
---|---|---|
|
@@ -34,6 +34,12 @@ | |
import com.mycompany.service.ChartService; | ||
import com.mycompany.util.Queries; | ||
|
||
/** | ||
* Chart service implementation class. | ||
* | ||
* @author Ian Hlavats ([email protected]) | ||
* | ||
*/ | ||
@Named("chartService") | ||
@Stateless | ||
public class ChartServiceImpl extends AbstractService implements ChartService { | ||
|
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 |
---|---|---|
|
@@ -33,6 +33,12 @@ | |
import com.mycompany.service.ContentService; | ||
import com.mycompany.util.Queries; | ||
|
||
/** | ||
* Content service implementation class. | ||
* | ||
* @author Ian Hlavats ([email protected]) | ||
* | ||
*/ | ||
@Named("contentService") | ||
@Stateless | ||
public class ContentServiceImpl extends AbstractService implements ContentService { | ||
|
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 |
---|---|---|
|
@@ -47,10 +47,8 @@ | |
import com.mycompany.util.Queries; | ||
|
||
/** | ||
* <p> | ||
* Controller class for countries. Since this class holds application-wide | ||
* state, namely a list of {@link Country} objects, we annotate it as an | ||
* application-scoped CDI bean. | ||
* | ||
* Country service implementation class. | ||
* | ||
* @author Ian Hlavats ([email protected]) | ||
* | ||
|
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 |
---|---|---|
|
@@ -49,6 +49,12 @@ | |
import com.mycompany.service.EventService; | ||
import com.mycompany.util.Queries; | ||
|
||
/** | ||
* Event service implementation class. | ||
* | ||
* @author Ian Hlavats ([email protected]) | ||
* | ||
*/ | ||
@Named("eventService") | ||
@Stateless | ||
public class EventServiceImpl extends AbstractService implements EventService { | ||
|
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 |
---|---|---|
|
@@ -36,6 +36,12 @@ | |
import com.mycompany.model.Idea; | ||
import com.mycompany.service.IdeaService; | ||
|
||
/** | ||
* Idea service implementation class. | ||
* | ||
* @author Ian Hlavats ([email protected]) | ||
* | ||
*/ | ||
@Named("ideaService") | ||
@Stateless | ||
public class IdeaServiceImpl extends AbstractService implements IdeaService { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,12 @@ | |
import com.mycompany.model.Venue; | ||
import com.mycompany.service.VenueService; | ||
|
||
/** | ||
* Venue service implementation class. | ||
* | ||
* @author Ian Hlavats ([email protected]) | ||
* | ||
*/ | ||
@Named("venueService") | ||
@Stateless | ||
public class VenueServiceImpl extends AbstractService implements VenueService { | ||
|
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