|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessagingService
Remote service interface definition. This service allows to interact
with server-side JMS consumers : retrieving them, saving them (thus
activation / deactivation) and removing them. All this services require
authentication through the usage of the login() method.
The security token returned by this method should then be used as a
parameter of every service call.
| Method Summary | |
|---|---|
RemoteJMSConsumerBeanInfo |
getConsumerBeanInfo(java.lang.String token,
java.lang.String name)
Retrieve the info object having the specified name (or null if none). |
RemoteJMSConsumerBeanInfo[] |
getConsumerBeanInfos(java.lang.String token)
Retrieve the info object corresponding to available JMSConsumerBeans. |
void |
removeConsumerBeanInfo(java.lang.String token,
java.lang.String name)
Remove a JMSConsumerBean infos from datastore. |
void |
saveConsumerBeanInfo(java.lang.String token,
RemoteJMSConsumerBeanInfo info)
Save a JMSConsumerBean infos within datastore. |
| Methods inherited from interface org.figure8.join.services.remoting.AuthenticatedService |
|---|
login, logout |
| Method Detail |
|---|
void saveConsumerBeanInfo(java.lang.String token,
RemoteJMSConsumerBeanInfo info)
throws InvalidSessionException,
InvalidParameterException,
DuplicateEntityException,
InfrastructureException,
java.rmi.RemoteException
token - Authentication token provided earlier by login() methodinfo - The info on a JMSConsumerBean to save
InvalidSessionException - if user has no valid session on server-side
InvalidParameterException - if consumer bean java class is not valid
DuplicateEntityException - if another consumer with same name already exists.
InfrastructureException - if wrapped JCA container cannot activate consumer.
java.rmi.RemoteException - if an exception occurs during the remote conversation
void removeConsumerBeanInfo(java.lang.String token,
java.lang.String name)
throws InvalidSessionException,
java.rmi.RemoteException
token - Authentication token provided earlier by login() methodname - The name of the JMSConsumerBean to remove
InvalidSessionException - if user has no valid session on server-side
java.rmi.RemoteException - if an exception occurs during the remote conversation
RemoteJMSConsumerBeanInfo getConsumerBeanInfo(java.lang.String token,
java.lang.String name)
throws InvalidSessionException,
java.rmi.RemoteException
token - Authentication token provided earlier by login() methodname - The name of consumer bean information to retrieve
RemoteJMSConsumerBeanInfo object, or null if none
InvalidSessionException - if user has no valid session on server-side
java.rmi.RemoteException - if an exception occurs during the remote conversation
RemoteJMSConsumerBeanInfo[] getConsumerBeanInfos(java.lang.String token)
throws InvalidSessionException,
java.rmi.RemoteException
JMSConsumerBeans.
token - Authentication token provided earlier by login() method
RemoteJMSConsumerBeanInfo objects.
InvalidSessionException - if user has no valid session on server-side
java.rmi.RemoteException - if an exception occurs during the remote conversation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||