Package javax.resource

Examples of javax.resource.NotSupportedException


   * 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


    connectionFactory.getConnection();
    connectionFactoryControl.setReturnValue(connection);

    connectionFactory.getRecordFactory();
    connectionFactoryControl.setThrowable(new NotSupportedException("not supported"), 1);

    connection.createInteraction();
    connectionControl.setReturnValue(interaction);

    interaction.execute(interactionSpec, inputRecord, outputRecord);
View Full Code Here

    * @return LocalTransaction instance
    * @throws ResourceException generic exception if operation fails
    */
   public LocalTransaction getLocalTransaction() throws ResourceException
   {
      throw new NotSupportedException("LocalTransaction not supported");
   }
View Full Code Here

    * @return XAResource instance
    * @throws ResourceException generic exception if operation fails
    */
   public XAResource getXAResource() throws ResourceException
   {
      throw new NotSupportedException("GetXAResource not supported");
   }
View Full Code Here

    *
    * @return     XAResource instance
    * @throws ResourceException     generic exception if operation fails
    */
   public XAResource getXAResource() throws ResourceException {
      throw new NotSupportedException("GetXAResource not supported");
   }
View Full Code Here

    * @return LocalTransaction instance
    * @throws javax.resource.ResourceException generic exception if operation fails
    */
   public LocalTransaction getLocalTransaction() throws ResourceException
   {
      throw new NotSupportedException("LocalTransaction not supported");
   }
View Full Code Here

    * @return XAResource instance
    * @throws javax.resource.ResourceException generic exception if operation fails
    */
   public XAResource getXAResource() throws ResourceException
   {
      throw new NotSupportedException("GetXAResource not supported not supported");
   }
View Full Code Here

    * @return LocalTransaction instance
    * @throws ResourceException generic exception if operation fails
    */
   public LocalTransaction getLocalTransaction() throws ResourceException
   {
      throw new NotSupportedException("LocalTransaction not supported");
   }
View Full Code Here

    * @return XAResource instance
    * @throws ResourceException generic exception if operation fails
    */
   public XAResource getXAResource() throws ResourceException
   {
      throw new NotSupportedException("GetXAResource not supported not supported");
   }
View Full Code Here

    * @return LocalTransaction instance
    * @throws ResourceException generic exception if operation fails
    */
   public LocalTransaction getLocalTransaction() throws ResourceException
   {
      throw new NotSupportedException("LocalTransaction not supported");
   }
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.