public interface BulletinBoardServiceRemote extends ServiceRemote
Please note that this is not for inter-thread communication, for that purpose, please see psdi.server.SharedSpace.
This service is not persistent. If the server hosting this service goes down, all already posted messages will be lost when the server starts up.
Currently this service is implemented as a singleton service, which means only one MXServer in the enterprise can host the service. However, we are considering the future plan to upgrade it to be duplicated services by enabling posted messages to be broadcasted to all the bulletin boards.
Modifier and Type | Method and Description |
---|---|
boolean |
isInitialized()
Check if class has been initialized.
|
boolean |
isPosted(java.lang.String key) |
boolean |
isPosted(java.lang.String key,
UserInfo userInfo) |
void |
post(java.lang.String key) |
void |
post(java.lang.String key,
UserInfo userInfo) |
void |
remove(java.lang.String key) |
void |
remove(java.lang.String key,
UserInfo userInfo) |
getName, getURL, isAppService, isSingletonService, restart
void post(java.lang.String key) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.server
void post(java.lang.String key, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.server
boolean isPosted(java.lang.String key) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.server
boolean isPosted(java.lang.String key, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.server
void remove(java.lang.String key) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.server
void remove(java.lang.String key, UserInfo userInfo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
psdi.server
boolean isInitialized() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException