Package com.sun.enterprise.jbi.serviceengine

Examples of com.sun.enterprise.jbi.serviceengine.ServiceEngineException


                msgExchange = inOutMessageExchange;
            }
            msgExchange.setService(serviceName);
            setMessageExchange(msgExchange);
        } catch(Exception e) {
            throw new ServiceEngineException(e);
        }
    }
View Full Code Here


            MessageSender messageSender = new MessageSender();
            messageSender.setMessageExchange(messageExchange);
            messageSender.send();
            Exception exception = messageSender.getException();
            if(exception != null)
                throw new ServiceEngineException(exception);
        }
    }
View Full Code Here

        }
    }
   
    private void validateMessageExchange() throws ServiceEngineException {
        if(messageExchange == null)
            throw new ServiceEngineException("MessageExchange not set, use setMessageExchange()");
    }
View Full Code Here

            return operation;
           
        } catch(Exception e) {
            e.printStackTrace();
           
            throw new ServiceEngineException(e.getMessage());
        }
    }
View Full Code Here

        for (JBIHandler handler : handlers)
            try {
                handler.handleInbound(meTransport);
            } catch (Exception e) {
                logger.log(Level.SEVERE, e.getMessage(), e);
                throw new ServiceEngineException(e);
            }
    }
View Full Code Here

        for (JBIHandler handler : handlers)
            try {
                handler.handleOutbound(meTransport);
            } catch (Exception e) {
                logger.log(Level.SEVERE, e.getMessage(), e);
                throw new ServiceEngineException(e);
            }
    }
View Full Code Here

   
    public Bridge getBridge() throws ServiceEngineException{
        try {
            return (Bridge)Class.forName(BRIDGE_CLASS).newInstance();
        } catch(Exception e) {
            throw new ServiceEngineException("Error initializing Bridge,cannot continue :" + e);
        }
    }
View Full Code Here

                runtimeInfo = JAXRPCRuntimeEndpointHelper.populateRuntimeInfo(endpt);
                runtimeEndpointInfoTable.put(endpoint, runtimeInfo);
            }
            return runtimeInfo;
        }
        throw new ServiceEngineException("Endpoint " +  endpoint + "not deployed in JBI");
    }
View Full Code Here

    throws ServiceEngineException {
        ServiceEngineEndpoint endpt = endpointRegistry.get(service,  endpointName);
        if(endpt != null) {
            return createWSAdapter(endpt, me);
        }
        throw new ServiceEngineException("Endpoint " +  endpointName + "not deployed in JBI");
    }
View Full Code Here

                    registry.getEjbWebServiceEndpoint(endpt.getURI(), "POST", null);
           
           
            return ejbRtEndptInfo;
        } catch(Exception e) {
            throw new ServiceEngineException(e.getMessage());
        }
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.jbi.serviceengine.ServiceEngineException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.