Package javax.resource

Examples of javax.resource.NotSupportedException


    /* (non-Javadoc)
     * @see javax.resource.spi.ManagedConnection#getLocalTransaction()
     */
    public LocalTransaction getLocalTransaction() throws ResourceException {
        throw new NotSupportedException ("Not supported.");
    }
View Full Code Here


    /* (non-Javadoc)
     * @see javax.resource.spi.ManagedConnection#getXAResource()
     */
    public XAResource getXAResource() throws ResourceException {
        throw new NotSupportedException ("Not supported.");
    }
View Full Code Here

     * @throws ResourceException if transactions are not supported
     */
    // TODO
    public XAResource getXAResource() throws ResourceException
    {
        throw new NotSupportedException("getXAResource");
    }
View Full Code Here

     * @throws ResourceException if transactions are not supported
     */

    public javax.resource.spi.LocalTransaction getLocalTransaction() throws ResourceException
    {
        throw new NotSupportedException("getLocalTransaction");
    }
View Full Code Here

                logger.error(e.getMessage(), e);
            }
        }
        else
        {
            throw new NotSupportedException("That type of ActicationSpec not supported: "
                                            + activationSpec.getClass());
        }

    }
View Full Code Here

    /**
     * No support for record.
     */
    public RecordFactory getRecordFactory() throws ResourceException {
        throw new NotSupportedException("JDO Connector: no support for record.");
    }
View Full Code Here

            endpointWorkers.put(key, worker);
            worker.start();

        } else {
            throw new NotSupportedException("That type of ActicationSpec not supported: " + activationSpec.getClass());
        }

    }
View Full Code Here

   * This implementation always throws a NotSupportedException.
   */
  public void endpointActivation(MessageEndpointFactory messageEndpointFactory, ActivationSpec activationSpec)
      throws ResourceException {

    throw new NotSupportedException("SpringContextResourceAdapter does not support message endpoints");
  }
View Full Code Here

   * This implementation always throws a NotSupportedException.
   */
  public void endpointActivation(MessageEndpointFactory messageEndpointFactory, ActivationSpec activationSpec)
      throws ResourceException {

    throw new NotSupportedException("SpringContextResourceAdapter does not support message endpoints");
  }
View Full Code Here

      return this.connection;
    }
  }

  public Connection getConnection(ConnectionSpec connectionSpec) throws ResourceException {
    throw new NotSupportedException(
        "SingleConnectionFactory does not support custom ConnectionSpec");
  }
View Full Code Here

TOP

Related Classes of javax.resource.NotSupportedException

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.