|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.connector.PhysicalConnection
com.infoengine.connector.JMSConnection
Field Summary | |
(package private) String |
authorization
|
(package private) Context |
ctx
|
static String |
CTX_FACTORY
|
protected IeConnectionRequestInfo |
cxRequestInfo
|
(package private) javax.jms.Queue |
inQ
|
static String |
INQ
|
protected Log |
log
|
protected IeManagedConnection |
managedCx
|
(package private) javax.jms.Queue |
outQ
|
static String |
OUTQ
|
static String |
OUTQ_WAIT
|
(package private) long |
outQTimeOut
|
static String |
PROVIDER_CREDENTIALS
|
static String |
PROVIDER_PRINCIPAL
|
static String |
PROVIDER_URL
|
static String |
QCF
|
static String |
QCF_PASSWORD
|
static String |
QCF_USER
|
(package private) javax.jms.QueueConnection |
qcx
|
(package private) javax.jms.QueueSender |
qSender
|
(package private) javax.jms.QueueSession |
qSession
|
(package private) javax.xml.soap.MessageFactory |
soapMessageFactory
|
protected Subject |
subject
|
Constructor Summary | |
JMSConnection()
|
Method Summary | |
(package private) void |
destroy()
destroy this physical connection |
protected String[] |
extractCredentials()
|
private void |
getCtx()
get the initial context |
(package private) IeConnectionRequestInfo |
getRequestInfo()
|
(package private) void |
init()
initialize the connection |
(package private) javax.xml.soap.SOAPMessage |
invoke(javax.xml.soap.SOAPMessage msg)
send a SOAPMessage to an endPoint |
private Object |
lookup(String objRef)
|
private javax.jms.Queue |
lookupQ(String queueName)
|
private javax.jms.QueueConnectionFactory |
lookupQCF(String qcfName)
|
(package private) boolean |
match(Subject s,
javax.resource.spi.ConnectionRequestInfo cri)
does this connection match these criteria |
(package private) void |
setLog(Log l)
|
(package private) void |
setManagedConnection(IeManagedConnection managed)
|
(package private) void |
setRequestInfo(IeConnectionRequestInfo info)
|
(package private) void |
setSubject(Subject s)
|
private Exception |
unwrap(Exception exc)
|
protected Throwable |
unwrapSOAPException(javax.xml.soap.SOAPException soapE)
extract root exception |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String INQ
public static final String OUTQ
public static final String OUTQ_WAIT
public static final String QCF
public static final String QCF_USER
public static final String QCF_PASSWORD
public static final String CTX_FACTORY
public static final String PROVIDER_URL
public static final String PROVIDER_PRINCIPAL
public static final String PROVIDER_CREDENTIALS
Context ctx
javax.jms.QueueConnection qcx
javax.jms.QueueSession qSession
javax.jms.QueueSender qSender
javax.jms.Queue inQ
javax.jms.Queue outQ
long outQTimeOut
String authorization
javax.xml.soap.MessageFactory soapMessageFactory
protected IeManagedConnection managedCx
protected Subject subject
protected IeConnectionRequestInfo cxRequestInfo
protected Log log
Constructor Detail |
public JMSConnection()
Method Detail |
private Exception unwrap(Exception exc)
private void getCtx() throws javax.resource.ResourceException
javax.resource.ResourceException
private Object lookup(String objRef) throws javax.resource.ResourceException
javax.resource.ResourceException
private javax.jms.Queue lookupQ(String queueName) throws javax.resource.ResourceException
javax.resource.ResourceException
private javax.jms.QueueConnectionFactory lookupQCF(String qcfName) throws javax.resource.ResourceException
javax.resource.ResourceException
void init() throws javax.resource.ResourceException
init
in class PhysicalConnection
javax.resource.ResourceException
void destroy() throws Exception
destroy
in class PhysicalConnection
Exception
javax.xml.soap.SOAPMessage invoke(javax.xml.soap.SOAPMessage msg) throws Exception
invoke
in class PhysicalConnection
msg
- message to send
Exception
- if error occurs (implementor should unwrap)void setManagedConnection(IeManagedConnection managed)
managed
- IeManagedConnection instancevoid setSubject(Subject s)
s
- security credentialsvoid setLog(Log l)
l
- Logvoid setRequestInfo(IeConnectionRequestInfo info)
info
- connection request infoIeConnectionRequestInfo getRequestInfo()
boolean match(Subject s, javax.resource.spi.ConnectionRequestInfo cri) throws PrivilegedActionException
s
- security credentialscri
- connection request info
PrivilegedActionException
protected Throwable unwrapSOAPException(javax.xml.soap.SOAPException soapE)
soapE
- SOAPException to unwrap
protected String[] extractCredentials() throws PrivilegedActionException
PrivilegedActionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |