org.openmdx.kernel.application.container.spi.ejb
Interface ContainerTransaction

All Known Implementing Classes:
LightweightContainerTransaction

public interface ContainerTransaction

Container Transaction


Method Summary
 TransactionAttribute getTransactionAttribute(String methodInterface, String methodName, String[] methodParameters)
          Evaluate the transaction attribute for a given method.
 

Method Detail

getTransactionAttribute

TransactionAttribute getTransactionAttribute(String methodInterface,
                                             String methodName,
                                             String[] methodParameters)
Evaluate the transaction attribute for a given method.

Parameters:
methodInterface - The method-intf element allows a method element to differentiate between the methods with the same name and signature that are multiply defined across the home and component interfaces (e.g, in both an enterprise bean's remote and local interfaces or in both an enterprise bean's home and remote interfaces, etc.); the component and web service endpoint interfaces, and so on.

The methodInterface argument must be one of the following:

  • Home
  • Remote
  • LocalHome
  • Local
  • ServiceEndpoint
methodName - ThemethodName contains the name of an enterprise bean method.
methodParameters - The methodParameters defines a list of the fully-qualified Java type names of the method parameters.
Returns:
the transaction attribute.


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.