Skip to main content

Source code revision

svn

summary: Enable CMP deployment. Execution will be done separately (need to fix getContainer() logic).
revision: 24888
author: mvatkina
date: 2009-02-21 01:27:08 UTC (5 years)
message: Enable CMP deployment. Execution will be done separately (need to fix getContainer()
logic).

- Added ejb/ejb-internal-api for the @Contract to be implemented by the CMP
deployer impl (CmpCompiler).
- Moved necessary code from V2.
- Exported one more package in ejb/ejb-container/osgi.bundle.
- Added generateArtifacts() method to EjbDeployer which calls CMPDeployer.deploy
when the EJB bundle contains CMPs.
- Embeded dbschema, schema2beans, and antlr classes into cmp-xxx jars.
- Changed support-ejb/.../ejb/ejbc classes to use new V3 APIs.
- Use new Java 6 Compiler API to compile generated classes and write out .class files.
- Added CMP dependency to glassfish distro (via cmp-support-ejb, which in turn
brings the rest of the cmp jars).

QL passed.


Change Path Actions
M trunk/v3/distributions/glassfish/pom.xml
M trunk/v3/ejb/ejb-container/osgi.bundle
M trunk/v3/ejb/ejb-container/pom.xml
M trunk/v3/ejb/ejb-container/src/main/java/com/sun/ejb/containers/EntityContainer.java
M trunk/v3/ejb/ejb-container/src/main/java/org/glassfish/ejb/startup/EjbDeployer.java
A trunk/v3/ejb/ejb-internal-api
A trunk/v3/ejb/ejb-internal-api/pom.xml
A trunk/v3/ejb/ejb-internal-api/src
A trunk/v3/ejb/ejb-internal-api/src/main
A trunk/v3/ejb/ejb-internal-api/src/main/java
A trunk/v3/ejb/ejb-internal-api/src/main/java/org
A trunk/v3/ejb/ejb-internal-api/src/main/java/org/glassfish
A trunk/v3/ejb/ejb-internal-api/src/main/java/org/glassfish/ejb
A trunk/v3/ejb/ejb-internal-api/src/main/java/org/glassfish/ejb/spi
A trunk/v3/ejb/ejb-internal-api/src/main/java/org/glassfish/ejb/spi/CMPDeployer.java
M trunk/v3/ejb/pom.xml
M trunk/v3/persistence/cmp/ejb-mapping/pom.xml
M trunk/v3/persistence/cmp/ejb-mapping/src/main/java/com/sun/jdo/api/persistence/mapping/ejb/MappingGenerator.java
M trunk/v3/persistence/cmp/enhancer/pom.xml
M trunk/v3/persistence/cmp/generator-database/pom.xml
M trunk/v3/persistence/cmp/model/pom.xml
M trunk/v3/persistence/cmp/support-ejb/pom.xml
A trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/codegen
A trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/codegen/Bundle.properties
A trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/codegen/CMPGenerator.java
A trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/codegen/CmpCompiler.java
A trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/codegen/GeneratorException.java
A trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/codegen/LogHelperCmpCompiler.java
M trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/BaseProcessor.java
M trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/JDOCodeGenerator.java
M trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/JDOCodeGeneratorHelper.java
M trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/JDOConcreteBeanGenerator.java
M trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/MappingGenerator.java
M trunk/v3/persistence/cmp/support-sqlstore/pom.xml
M trunk/v3/persistence/cmp/utility/pom.xml
M trunk/v3/persistence/pom.xml
 
 
Close
loading
Please Confirm
Close