public static EISException unsupportedMessageInOutputRecord() { return EISException.createException(new Object[] { }, OUTPUT_UNSUPPORTED_MSG_TYPE); }
public static EISException noConnectionFactorySpecified() { return EISException.createException(new Object[] { }, NO_CONN_FACTORY); }
public static EISException invalidInteractionSpecType() { return EISException.createException(new Object[] { }, INVALID_INTERACTION_SPEC_TYPE); }
public static EISException timeoutOccurred() { return EISException.createException(new Object[] { }, TIMEOUT); }
public static EISException groupingElementRequired() { return EISException.createException(new Object[] { }, GROUPING_ELEMENT_REQUIRED); }
public static EISException unsupportedMessageInInputRecord() { return EISException.createException(new Object[] { }, INPUT_UNSUPPORTED_MSG_TYPE); }
public static EISException unknownInteractionSpecType() { return EISException.createException(new Object[] { }, UNKNOWN_INTERACTION_SPEC_TYPE); }
public static EISException unsupportedMessageInInputRecord() { return EISException.createException(new Object[] { }, INPUT_UNSUPPORTED_MSG_TYPE); }
public static EISException noConnectionFactorySpecified() { return EISException.createException(new Object[] { }, NO_CONN_FACTORY); }
public static EISException invalidRecordType() { return EISException.createException(new Object[] { }, INVALID_RECORD_TYPE); }
/** * Close the session and the connection. */ public void close() throws EISException { try { getSession().close(); getConnection().close(); } catch (Exception exception) { throw EISException.createException(exception); } }
/** * Close the session and the connection. */ public void close() throws EISException { try { getSession().close(); getConnection().close(); } catch (Exception exception) { throw EISException.createException(exception); } }
/** * Allow the platform to handle the creation of the DOM record. * Creates an indexed record (mapped records are not supported). */ public Record createDOMRecord(String recordName, EISAccessor accessor) { try { return accessor.getRecordFactory().createIndexedRecord(recordName); } catch (ResourceException exception) { throw EISException.createException(exception); } }
/** * Allow the platform to handle the creation of the DOM record. * Creates an indexed record (mapped records are not supported). */ public Record createDOMRecord(String recordName, EISAccessor accessor) { try { return accessor.getRecordFactory().createIndexedRecord(recordName); } catch (ResourceException exception) { throw EISException.createException(exception); } }
/** * Write each of the transactional DOM records back to their files. * * @throws EISException */ public void commit() throws EISException { try { connection.getSession().commit(); } catch (Exception exception) { throw EISException.createException(exception); } isInTransaction = false; }
/** * Write each of the transactional DOM records back to their files. * * @throws EISException */ public void commit() throws EISException { try { connection.getSession().commit(); } catch (Exception exception) { throw EISException.createException(exception); } isInTransaction = false; }
/** * Return the product name * * @return the JMS provider name * @throws EISException */ public String getEISProductName() throws EISException { try { return connection.getConnection().getMetaData().getJMSProviderName(); } catch (Exception exception) { throw EISException.createException(exception); } }
/** * Return the provider version * * @return the JMS provider version * @throws EISException */ public String getEISProductVersion() throws EISException { try { return connection.getConnection().getMetaData().getProviderVersion(); } catch (Exception exception) { throw EISException.createException(exception); } }
/** * Return the provider version * * @return the JMS provider version * @throws EISException */ public String getEISProductVersion() throws EISException { try { return connection.getConnection().getMetaData().getProviderVersion(); } catch (Exception exception) { throw EISException.createException(exception); } }
/** * Return the product name * * @return the JMS provider name * @throws EISException */ public String getEISProductName() throws EISException { try { return connection.getConnection().getMetaData().getJMSProviderName(); } catch (Exception exception) { throw EISException.createException(exception); } }