FileDocCategorySizeDatePackage
NMRServerConnection.javaAPI DocGlassfish v2 API4005Fri May 04 22:30:26 BST 2007com.sun.enterprise.jbi.serviceengine.bridge.transport

NMRServerConnection

public class NMRServerConnection extends Object implements com.sun.xml.ws.api.server.WebServiceContextDelegate
author
Manisha Umbarje

Fields Summary
private javax.jbi.messaging.MessageExchange
me
private com.sun.enterprise.jbi.serviceengine.core.ServiceEngineEndpoint
endpt
private com.sun.enterprise.jbi.serviceengine.comm.MessageExchangeTransport
meTransport
private static Logger
logger
Constructors Summary
public NMRServerConnection(javax.jbi.messaging.MessageExchange messageExchange, com.sun.enterprise.jbi.serviceengine.core.ServiceEngineEndpoint endpt)
Creates a new instance of NMRServerConnection

    
           
      
              
        this.me = messageExchange;
        this.endpt = endpt;
        meTransport = MessageExchangeTransportFactory.getHandler(me);
    
Methods Summary
public java.lang.StringgetEPRAddress(com.sun.xml.ws.api.message.Packet request, com.sun.xml.ws.api.server.WSEndpoint endpoint)

        return null;
    
public java.security.PrincipalgetUserPrincipal(com.sun.xml.ws.api.message.Packet request)

        return null;
    
public java.lang.StringgetWSDLAddress(com.sun.xml.ws.api.message.Packet request, com.sun.xml.ws.api.server.WSEndpoint endpoint)

        return null;
    
public voidhandleException(java.lang.Exception e)

        meTransport.sendError(e);
    
public booleanisUserInRole(com.sun.xml.ws.api.message.Packet request, java.lang.String role)

        return false;
    
public com.sun.xml.ws.api.message.MessagereceiveRequest()

        return meTransport.receive(endpt.getEndpointMetaData());
    
public voidsendResponse(com.sun.xml.ws.api.message.Message abstractMessage)

        meTransport.send(abstractMessage, endpt.getEndpointMetaData());