|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.mom.proxies.soap.SoapProxyService
The SoapProxyService
class implements the SOAP service
accessed by the JORAM clients using a SoapConnection
for
connecting to the MOM.
Constructor Summary | |
SoapProxyService()
|
Method Summary | |
java.util.Hashtable |
getReply(java.lang.String name,
int cnxId)
Service method: returns a Hashtable containing an AbstractJmsReply reply or MOM messages destinated to a
given connection context. |
void |
send(java.lang.String name,
int cnxId,
java.util.Hashtable h)
Service method: passes a hashtable containing an AbstractJmsRequest client request or MOM messages to the
proxy. |
int |
setConnection(java.lang.String userName,
java.lang.String userPassword,
int heartBeat)
Service method: returns the identifier of a given user connection, or -1 if it is not a valid user of the SOAP proxy. |
void |
start(int serverId,
java.lang.String serverName)
Service method: called by the SOAP client for instanciating the SOAP service and starting the embedded JORAM server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SoapProxyService()
Method Detail |
public void start(int serverId, java.lang.String serverName) throws java.lang.Exception
serverId
- Identifier of the embedded server.serverName
- Name of the embedded server.
java.lang.Exception
- If the embedded server could not start.public int setConnection(java.lang.String userName, java.lang.String userPassword, int heartBeat) throws java.lang.Exception
userName
- User's name.userPassword
- User's password.heartBeat
-
java.lang.Exception
- If the proxy is not deployed.public void send(java.lang.String name, int cnxId, java.util.Hashtable h) throws java.lang.Exception
AbstractJmsRequest
client request or MOM messages to the
proxy.
cnxId
- The sending connection.h
- Hashtable containing a request or MOM messages.
java.lang.Exception
- If the connection has been closed.public java.util.Hashtable getReply(java.lang.String name, int cnxId) throws java.lang.Exception
AbstractJmsReply
reply or MOM messages destinated to a
given connection context.
cnxId
- The identifier of the requesting connection.
java.lang.Exception
- If the connection has been closed.
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |