[jboss-dev-forums] [Design the new POJO MicroContainer] - Reliance jBPM - flow definition / bean lifecycle

alesj do-not-reply at jboss.com
Fri Apr 4 08:54:12 EDT 2008


Defining flow / bean lifecycle
1) jPDL file
2) programmatic
3) from database
4) custom MC xml --> new schema --> jbossxb.builder
All 4 would then require new deployer(s), but should be trivial to implement.

Flow states
We should be able to add additional states - besides the existing ControllerStates.
This would then require matching ControllerContextAction(s), to be used when registering new ControllerContext.

Transparent way to link bean to use the flow
1) annotation usage, e.g. @Flow("some-flow-name")
2) custom xml
The first one looks good enough, specially since we are able to have annotations declared in xml for instance usage or pre Java5.

Flow action/nodes integrated with MC IoC
1) cross injection
1a) injection of existing MC beans into action/nodes
1b) action/nodes are plain MC beans used in flow definition
2) extension of existing jPDL schema

Dependencies
1) Transition ==> DependencyItem
1) Action ==> DependencyItem


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141635#4141635

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141635



More information about the jboss-dev-forums mailing list