public class MicroblogNotificationStrategy extends Object implements NotificationStrategy
| Modifier and Type | Field and Description | 
|---|---|
protected MicroblogConfigurationDao | 
m_configDao  | 
protected MicroblogConfigurationDao | 
m_microblogConfigurationDao  | 
| Constructor and Description | 
|---|
MicroblogNotificationStrategy()
Constructor for MicroblogNotificationStrategy. 
 | 
MicroblogNotificationStrategy(org.springframework.core.io.Resource configResource)
Constructor for MicroblogNotificationStrategy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
buildMessageBody(List<Argument> arguments)
buildMessageBody 
 | 
protected twitter4j.Twitter | 
buildUblogService(List<Argument> arguments)
buildUblogService 
 | 
protected static org.springframework.core.io.Resource | 
findDefaultConfigResource()
findDefaultConfigResource 
 | 
protected String | 
findDestName(List<Argument> arguments)
findDestName 
 | 
MicroblogConfigurationDao | 
getMicroblogConfigurationDao()
getMicroblogConfigurationDao 
 | 
int | 
send(List<Argument> arguments)
send 
 | 
void | 
setMicroblogConfigurationDao(MicroblogConfigurationDao dao)
setMicroblogConfigurationDao 
 | 
protected MicroblogConfigurationDao m_microblogConfigurationDao
protected MicroblogConfigurationDao m_configDao
public MicroblogNotificationStrategy()
                              throws IOException
Constructor for MicroblogNotificationStrategy.
IOException - if any.public MicroblogNotificationStrategy(org.springframework.core.io.Resource configResource)
Constructor for MicroblogNotificationStrategy.
configResource - a Resource object.public int send(List<Argument> arguments)
send
send in interface NotificationStrategyarguments - a List object.protected twitter4j.Twitter buildUblogService(List<Argument> arguments)
buildUblogService
arguments - a List object.Twitter object.protected static org.springframework.core.io.Resource findDefaultConfigResource()
                                                                         throws IOException
findDefaultConfigResource
Resource object.IOException - if any.public void setMicroblogConfigurationDao(MicroblogConfigurationDao dao)
setMicroblogConfigurationDao
dao - a MicroblogConfigurationDao object.public MicroblogConfigurationDao getMicroblogConfigurationDao()
getMicroblogConfigurationDao
MicroblogConfigurationDao object.Copyright © 2021. All rights reserved.