|
Joram 5.2.6 | ||||||||
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
public class SoapProxyService
The SoapProxyService
class implements the SOAP service
accessed by the JORAM clients using a SoapConnection
for
connecting to the MOM.
Field Summary | |
---|---|
static org.objectweb.util.monolog.api.Logger |
logger
logger |
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.util.Hashtable identityMap,
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 instantiating 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 |
Field Detail |
---|
public static org.objectweb.util.monolog.api.Logger logger
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.util.Hashtable identityMap, int heartBeat) throws java.lang.Exception
identityMap
- Map of the user Identity.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 5.2.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |