[forge-dev] ejb plugin: is ready to be seen!

JFlower fiorenzino at gmail.com
Wed Sep 12 19:25:54 EDT 2012


Hi Lincoln,

my ejb plugin is ready to meet your eyes:
https://github.com/fiorenzino/core/tree/FORGE-610/javaee-impl/src/main/java/org/jboss/forge/spec/javaee/ejb

initial test:
https://github.com/fiorenzino/core/blob/FORGE-610/javaee-impl/src/test/java/org/jboss/forge/spec/ejb/EJBPluginTest.java

i need to do some works before close:
- add more tests (for all functionality)
- add more parameters on mdb configuration
- add clusterable annotation
- add transaction on methods
- permit undo/change (revert/change configuration)

*I'm waiting for your comments on my slow work (..unfortunately my free
time is limited...)*
*
*
bye

fiorenzo


PS: the fucked Mdb annotation at end was:

javaClass.addImport(ActivationConfigProperty.class);
javaClass.addImport(MessageDriven.class);
javaClass.addImport(Message.class);
javaClass.addInterface(MessageListener.class);
javaClass.addMethod("public void onMessage(Message message) {}");
javaClass.addAnnotation(javaClassType.MESSAGEDRIVEN.getAnnotation())
.setLiteralValue("name", "\"" + name + "\"")
.setLiteralValue("activationConfig",
"{@ActivationConfigProperty(propertyName = \"destinationType\",
propertyValue = \""+ destinationType+ "\"), " +
"@ActivationConfigProperty(propertyName = \"destination\", propertyValue =
\""+ destinationName + "\")" + "}");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20120913/1fee27fc/attachment.html 


More information about the forge-dev mailing list