|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.server.jms.JMSContext
JMSContext represents a data object representing a running instance of JMS service in glue. JMS services can be started on multiple directories. Each JMS service is assigned JMSContext. The context maps a JMS queue to a directory in glue. Any message received on that queue is dispatched to a web service located in or under that directory.
Field Summary | |
java.lang.String |
queueConnFactName
|
Constructor Summary | |
JMSContext(XURL namespace,
java.lang.String path,
javax.jms.QueueConnection qConn,
javax.jms.QueueSession qSession,
javax.jms.Queue requestQueue,
java.lang.String requestQueueName,
java.lang.String queueConnFactName)
|
Method Summary | |
javax.jms.QueueConnection |
getConnection()
Returns queue connection to the JMS provider. |
java.lang.String |
getLocalPath()
Returns a directory path mapped to a JMS Queue represented by this context object. |
java.lang.String |
getLocalPath(java.lang.String uri)
|
XURL |
getNamespace()
|
XURL |
getPath()
Returns external representation of the GLUE directory path represented by this context object. |
javax.jms.Queue |
getRequestQueue()
Returns request Queue represented by this Object. |
java.lang.String |
getRequestQueueName()
Returns the name mapped to the request queue in the JNDI directory. |
java.lang.String |
getRoot()
Returns a directory path mapped to a JMS Queue represented by this context object. |
javax.jms.QueueSession |
getSession()
Returns JMS session of the JMS service, this object represents. |
java.lang.String |
getType()
Returns the type of the service this implementation IServer implements. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String queueConnFactName
Constructor Detail |
public JMSContext(XURL namespace, java.lang.String path, javax.jms.QueueConnection qConn, javax.jms.QueueSession qSession, javax.jms.Queue requestQueue, java.lang.String requestQueueName, java.lang.String queueConnFactName)
namespace
- path
- qConn
- qSession
- requestQueue
- requestQueueName
- queueConnFactName
- Method Detail |
public XURL getNamespace()
public javax.jms.Queue getRequestQueue()
public java.lang.String getRequestQueueName()
public javax.jms.QueueSession getSession()
public javax.jms.QueueConnection getConnection()
public java.lang.String getLocalPath()
public XURL getPath()
getPath
in interface IServer
public java.lang.String getLocalPath(java.lang.String uri)
getLocalPath
in interface IServer
uri
- public java.lang.String getRoot()
getRoot
in interface IServer
public java.lang.String getType()
getType
in interface IServer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |