This is my patch for my bug.
modules/core/src/java/org/openejb/deployment/OpenEJBModuleBuilder.java
TransactionPolicyHelper transactionPolicyHelper = new TransactionPolicyHelper(ejbJar.getAssemblyDescriptor());
modules/core/src/java/org/openejb/deployment/TransactionPolicyHelper.java
public TransactionPolicyHelper(AssemblyDescriptorType assemblyDescriptor) {
if (assemblyDescriptor != null) {
processContainerTransactions(assemblyDescriptor.getContainerTransactionArray());
}
}
public TransactionPolicyHelper(ContainerTransactionType[] containerTransactions) {
processContainerTransactions(containerTransactions);
}
private void processContainerTransactions(ContainerTransactionType[] containerTransactions) {
for (int i = 0; i < containerTransactions.length; i++) {
ContainerTransactionType containerTransaction = containerTransactions[i];
String transactionAttribute = containerTransaction.getTransAttribute().getStringValue();
MethodType[] methods = containerTransaction.getMethodArray();
for (int j = 0; j < methods.length; j++) {
MethodType method = methods[j];
String ejbName = method.getEjbName().getStringValue();
MethodTransaction methodTransaction = new MethodTransaction(method, transactionAttribute);
putMethodTransaction(ejbName, methodTransaction);
}
}
}
Everything Java Apache Geospatial Open Source. Hello Shinning Stars!!! Vincent Massol, Raphael Luta, Santiago Gala, Carsten Z.
Wednesday, June 16, 2004
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2004
(125)
-
▼
June
(9)
- This is my patch for my bug. modules/core/src/jav...
- Keep an eye on the Overview (Geronimo :: System 1....
- ejbJar : <xml-fragment version="2.1" xsi:schemaLoc...
- java.lang.NullPointerException at org.open...
- How does the demo application work?
- Check out Cactus, Clover. I just had the idea to ...
- Trying this in Geronimo : java -jar bin/server.ja...
- gisig.com cvs coordinates : :pserver:gisig.com:/h...
- I am trying to get the hang of this so that I can ...
-
▼
June
(9)
No comments:
Post a Comment