Examples of recreate()


Examples of com.arjuna.ats.internal.jts.orbspecific.TransactionFactoryImple.recreate()

    }
    else
    {
        TransactionFactory theFactory = OTSImpleManager.get_factory();
       
        return new ControlWrapper(theFactory.recreate(theContext));
    }
      }
      catch (SystemException ex)
      {
    if (jtsLogger.loggerI18N.isWarnEnabled())
View Full Code Here

Examples of com.arjuna.ats.internal.jts.orbspecific.TransactionFactoryImple.recreate()

    }
    else
    {
        TransactionFactory theFactory = OTSImpleManager.get_factory();

        return new ControlWrapper(theFactory.recreate(theContext));
    }
      }
      catch (SystemException ex)
      {
    if (jtsLogger.loggerI18N.isWarnEnabled())
View Full Code Here

Examples of com.arjuna.ats.internal.jts.orbspecific.TransactionFactoryImple.recreate()

    }
    else
    {
        TransactionFactory theFactory = OTSImpleManager.get_factory();
       
        return new ControlWrapper(theFactory.recreate(theContext));
    }
      }
      catch (SystemException ex)
      {
    if (jtsLogger.loggerI18N.isWarnEnabled())
View Full Code Here

Examples of com.betfair.cougar.transport.api.protocol.socket.InvocationResponse.recreate()

                                // connected object calls need some additional setup prior to responding to the observer
                                if (def.getOperationKey().getType() == OperationKey.Type.ConnectedObject && response.isSuccess()) {
                                    connectedObjectManager.handleSubscriptionResponse(session, response, observer);
                                }
                                else {
                                    response.recreate(observer, def.getReturnType(), message.getPayload().length);
                                }
                            } catch (Exception e) {
                                observer.onResult(new ExecutionResult(new CougarServiceException(ServerFaultCode.BinDeserialisationParseFailure, "Unable to deserialise response, closing session", e)));
                                if (session.isConnected()) {
                                    logger.log(NioLogger.LoggingLevel.SESSION, session, "Error occurred whilst trying to deserialise response, closing session");
View Full Code Here

Examples of com.betfair.cougar.transport.api.protocol.socket.InvocationResponse.recreate()

                                // connected object calls need some additional setup prior to responding to the observer
                                if (def.getOperationKey().getType() == OperationKey.Type.ConnectedObject && response.isSuccess()) {
                                    connectedObjectManager.handleSubscriptionResponse(session, response, observer);
                                }
                                else {
                                    response.recreate(observer, def.getReturnType(), message.getPayload().length);
                                }
                            } catch (Exception e) {
                                observer.onResult(new ExecutionResult(new CougarClientException(CougarMarshallingException.unmarshallingException("binary", "Unable to deserialise response, closing session", e, true))));
                                if (session.isConnected()) {
                                    logger.log(NioLogger.LoggingLevel.SESSION, session, "Error occurred whilst trying to deserialise response, closing session");
View Full Code Here

Examples of com.sun.enterprise.J2EETransactionManager.recreate()


        try {
            J2EETransactionManager tm = Switch.getSwitch().getTransactionManager();
            if (ec != null && ec.getXid() != null) {
                tm.recreate(ec.getXid(), ec.getTransactionTimeout());
            }
        } catch(WorkException we) {
            this.exception = we;
        } catch(Exception e) {
            setException(e);
View Full Code Here

Examples of com.sun.enterprise.transaction.api.JavaEETransactionManager.recreate()

     * @throws WorkException when unable to setup the execution context
     */
    private void setupExecutionContext(ExecutionContext ec) throws WorkException {
        JavaEETransactionManager tm = runtime.getTransactionManager();
        if (ec != null && ec.getXid() != null) {
            tm.recreate(ec.getXid(), ec.getTransactionTimeout());
        }
    }

    public static void debug(String message) {
        logger.finest(message);
View Full Code Here

Examples of com.sun.enterprise.transaction.api.JavaEETransactionManager.recreate()

    public void recreate(Xid xid, long timeout) {
        final JavaEETransactionManager tm = transactionManager;
       
        try {
            tm.recreate(xid, timeout);
        } catch (javax.resource.spi.work.WorkException ex) {
            throw new IllegalStateException(ex);
        }
        preInvokeTx(true);
    }
View Full Code Here

Examples of com.sun.enterprise.transaction.api.JavaEETransactionManager.recreate()

    public void recreate(Xid xid, long timeout) {
        final JavaEETransactionManager tm = transactionManager;
       
        try {
            tm.recreate(xid, timeout);
        } catch (javax.resource.spi.work.WorkException ex) {
            throw new IllegalStateException(ex);
        }
        preInvokeTx(true);
    }
View Full Code Here

Examples of com.sun.enterprise.transaction.api.JavaEETransactionManager.recreate()

     * @throws WorkException when unable to setup the execution context
     */
    private void setupExecutionContext(ExecutionContext ec) throws WorkException {
        JavaEETransactionManager tm = runtime.getTransactionManager();
        if (ec != null && ec.getXid() != null) {
            tm.recreate(ec.getXid(), ec.getTransactionTimeout());
        }
    }

    public static void debug(String message) {
        if(logger.isLoggable(Level.FINEST)){
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.