Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » core » transaction » [javadoc | source]
org.apache.openejb.core.transaction
abstract public class: JtaTransactionPolicy [javadoc | source]
java.lang.Object
   org.apache.openejb.core.transaction.JtaTransactionPolicy

All Implemented Interfaces:
    TransactionPolicy

Direct Known Subclasses:
    TxMandatory, TxRequiresNew, TxRequired, TxBeanManaged, TxSupports, TxNotSupported, TxNever

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Field Summary
protected static final  Logger logger     
protected static final  Logger txLogger     
protected final  TransactionType transactionType     
protected final  TransactionManager transactionManager     
Constructor:
 public JtaTransactionPolicy(TransactionType transactionType,
    TransactionManager transactionManager) 
Method from org.apache.openejb.core.transaction.JtaTransactionPolicy Summary:
beginTransaction,   completeTransaction,   enlistResource,   fireNonTransactionalCompletion,   getCurrentTransaction,   getResource,   getTransaction,   getTransactionType,   isRollbackOnly,   isTransactionActive,   putResource,   registerSynchronization,   removeResource,   resumeTransaction,   rollbackTransaction,   setRollbackOnly,   setRollbackOnly,   suspendTransaction,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openejb.core.transaction.JtaTransactionPolicy Detail:
 protected Transaction beginTransaction() throws SystemException 
 protected  void completeTransaction(Transaction tx) throws SystemException, ApplicationException 
 public  void enlistResource(XAResource xaResource) throws SystemException 
 protected  void fireNonTransactionalCompletion() 
 abstract public Transaction getCurrentTransaction()
 public Object getResource(Object key) 
 protected Transaction getTransaction() throws SystemException 
 public TransactionType getTransactionType() 
 public boolean isRollbackOnly() 
 public boolean isTransactionActive() 
 public  void putResource(Object key,
    Object value) 
 public  void registerSynchronization(TransactionSynchronization synchronization) 
 public Object removeResource(Object key) 
 protected  void resumeTransaction(Transaction tx) throws SystemException 
 protected  void rollbackTransaction(Transaction tx) throws SystemException 
 public  void setRollbackOnly() 
 protected  void setRollbackOnly(Transaction tx) 
 protected Transaction suspendTransaction() throws SystemException 
 public String toString()