Class NotificationServiceImpl
- java.lang.Object
-
- org.onebusaway.admin.service.impl.NotificationServiceImpl
-
- All Implemented Interfaces:
NotificationService
public class NotificationServiceImpl extends Object implements NotificationService
Implementation of notifications.
-
-
Constructor Summary
Constructors Constructor Description NotificationServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationStrategy
getNotificationStrategy()
void
setNotificationStrategy(NotificationStrategy strategy)
void
setTwitterServiceImpl(TwitterServiceImpl twitter)
String
tweet(String message)
-
-
-
Method Detail
-
setTwitterServiceImpl
@Autowired public void setTwitterServiceImpl(TwitterServiceImpl twitter)
-
setNotificationStrategy
@Autowired public void setNotificationStrategy(NotificationStrategy strategy)
-
getNotificationStrategy
public NotificationStrategy getNotificationStrategy()
- Specified by:
getNotificationStrategy
in interfaceNotificationService
-
tweet
public String tweet(String message) throws IOException
- Specified by:
tweet
in interfaceNotificationService
- Throws:
IOException
-
-