org.apache.airavata.wsmg.msgbox.Storage.dbpool
Class MessageBoxDB
java.lang.Object
org.apache.airavata.wsmg.msgbox.Storage.dbpool.MessageBoxDB
public class MessageBoxDB
- extends Object
This is the core class which used by DatabaseStorageImpl to perform all the service operations, DatabaseStorageImpl
class simply use this class in its operation methods to perform the actual functionality.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SELECT_ALL_FROM_MSGBOXES
public static final String SELECT_ALL_FROM_MSGBOXES
- See Also:
- Constant Field Values
SQL_CREATE_MSGBOXES_STATEMENT
public static final String SQL_CREATE_MSGBOXES_STATEMENT
- See Also:
- Constant Field Values
SQL_DELETE_MSGBOXES_STATEMENT
public static final String SQL_DELETE_MSGBOXES_STATEMENT
- See Also:
- Constant Field Values
SQL_STORE_MESSAGE_STATEMENT
public static final String SQL_STORE_MESSAGE_STATEMENT
- See Also:
- Constant Field Values
SQL_SELECT_MSGBOX_STATEMENT
public static final String SQL_SELECT_MSGBOX_STATEMENT
- See Also:
- Constant Field Values
SQL_DELETE_MSGBOX_STATEMENT
public static final String SQL_DELETE_MSGBOX_STATEMENT
- See Also:
- Constant Field Values
SQL_DELETE_ANCIENT_STATEMENT
public static final String SQL_DELETE_ANCIENT_STATEMENT
- See Also:
- Constant Field Values
initialize
public static MessageBoxDB initialize(JdbcStorage db,
long time)
throws SQLException
- Throws:
SQLException
getInstance
public static MessageBoxDB getInstance()
createMsgBx
public void createMsgBx(String messageBoxId)
throws SQLException,
IOException
- Throws:
SQLException
IOException
addMessage
public void addMessage(String msgBoxID,
String messageID,
String soapAction,
org.apache.axiom.om.OMElement message)
throws SQLException,
IOException,
XMLStreamException
- Throws:
SQLException
IOException
XMLStreamException
deleteMessageBox
public void deleteMessageBox(String msgBoxId)
throws SQLException
- Throws:
SQLException
removeAllMessagesforClient
public List<String> removeAllMessagesforClient(String msgBoxId)
throws SQLException,
IOException,
ClassNotFoundException,
XMLStreamException
- Throws:
SQLException
IOException
ClassNotFoundException
XMLStreamException
removeAncientMessages
public void removeAncientMessages()
Copyright © 2011-2012 The Apache Software Foundation. All Rights Reserved.