|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.fascinator.portal.services.impl.HouseKeepingManagerImpl
public class HouseKeepingManagerImpl
Implements the House Keeping Manager interface, providing access to the housekeeping message queue and its outputs.
| Constructor Summary | |
|---|---|
HouseKeepingManagerImpl()
Basic constructor, run by Tapestry through injection. |
|
| Method Summary | |
|---|---|
void |
confirmMessage(String actionId)
Confirm and remove a message/action |
Map<String,Map<String,String>> |
getQueueStats()
Get the latest statistics on message queues. |
List<UserAction> |
getUserMessages()
Get the messages to display for the user |
void |
registryDidShutdown()
Tapestry notification that server is shutting down |
void |
requestRestart()
Request a low priority restart from HouseKeeping. |
void |
requestUrgentRestart()
Request a high priority restart from HouseKeeping. |
void |
sendMessage(String message)
Send a message to HouseKeeping. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HouseKeepingManagerImpl()
| Method Detail |
|---|
public void registryDidShutdown()
registryDidShutdown in interface org.apache.tapestry5.ioc.services.RegistryShutdownListenerpublic List<UserAction> getUserMessages()
getUserMessages in interface HouseKeepingManager
public void confirmMessage(String actionId)
throws Exception
confirmMessage in interface HouseKeepingManageractionId - The ID of the action to remove
Exceptionpublic void sendMessage(String message)
sendMessage in interface HouseKeepingManagerpublic void requestRestart()
requestRestart in interface HouseKeepingManagerpublic void requestUrgentRestart()
requestUrgentRestart in interface HouseKeepingManagerpublic Map<String,Map<String,String>> getQueueStats()
getQueueStats in interface HouseKeepingManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||