Package org.apache.geronimo.corba.transaction

Examples of org.apache.geronimo.corba.transaction.OperationTxPolicy


            Method method = (Method) entry.getKey();
            String operation = (String) entry.getValue();

            if (!ejb.isBeanManagedTransaction()) {
              TransactionType transactionType = ejb.getTransactionType(method, interfaceType);
                OperationTxPolicy operationTxPolicy = NoDTxServerTransactionPolicies.getContainerTransactionPolicy(transactionType);
                policies.put(operation, operationTxPolicy);
            } else {
                OperationTxPolicy operationTxPolicy = NoDTxServerTransactionPolicies.getBeanTransactionPolicy();
                policies.put(operation, operationTxPolicy);
            }
        }
        ServerTransactionPolicyConfig serverTransactionPolicyConfig = new MappedServerTransactionPolicyConfig(policies);
View Full Code Here


            Method method = (Method) entry.getKey();
            String operation = (String) entry.getValue();

            if (!ejb.isBeanManagedTransaction()) {
              TransactionType transactionType = ejb.getTransactionType(method);
                OperationTxPolicy operationTxPolicy = NoDTxServerTransactionPolicies.getContainerTransactionPolicy(transactionType);
                policies.put(operation, operationTxPolicy);
            } else {
                OperationTxPolicy operationTxPolicy = NoDTxServerTransactionPolicies.getBeanTransactionPolicy();
                policies.put(operation, operationTxPolicy);
            }
        }
        ServerTransactionPolicyConfig serverTransactionPolicyConfig = new MappedServerTransactionPolicyConfig(policies);
View Full Code Here

            Method method = (Method) entry.getKey();
            String operation = (String) entry.getValue();

            if (!ejb.isBeanManagedTransaction()) {
                byte transactionAttribute = ejb.getTransactionAttribute(method);
                OperationTxPolicy operationTxPolicy = NoDTxServerTransactionPolicies.getContainerTransactionPolicy(transactionAttribute);
                policies.put(operation, operationTxPolicy);
            } else {
                OperationTxPolicy operationTxPolicy = NoDTxServerTransactionPolicies.getBeanTransactionPolicy();
                policies.put(operation, operationTxPolicy);
            }
        }
        ServerTransactionPolicyConfig serverTransactionPolicyConfig = new MappedServerTransactionPolicyConfig(policies);
View Full Code Here

TOP

Related Classes of org.apache.geronimo.corba.transaction.OperationTxPolicy

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.