[Design the new POJO MicroContainer] - Re: MC + JAXB (JBossXB Builder)
by adrian@jboss.org
I also spoke to Alex about getting two new features related to schema config.
1) Lazy initialization of schema bindings.
Currently when you configure a class in the bootstrap, it has to exist
at startup to be included. e.g. the aop and spring schemas aren't included in JBossAS
because they aren't in the bootstrap classes.
So you have to configure them manually.
It would be better if this was done "on-demand".
2) Allow specification of config in the top level element (similar to the way
schema locations are handled) which doesn't require the "2 phase"
configuration that is currently done.
| <deployment xmlns:jbxb="urn:jbossxb:2.0" jbxb:schemabinding="urn:jbossjms:5.0 org.jboss.jms.Whatever"/>
|
It would be good if Alex can include these, so they are available for our RC1 release
and JBoss5
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133179#4133179
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133179
16 years, 7 months
[Design the new POJO MicroContainer] - Re: MC + JAXB (JBossXB Builder)
by adrian@jboss.org
You obviously missed my point about the generated SchemaBInding not matching the xsd. I've fixed all this.
I've also made it so there are top level schemas for javabean 1.0, 2.0 and the MC 1.0 and 2.0
the 2.0 and 1.0 were completely missing. For the javabean 1.0 i've disabled
the constructor element as per schema. It would be too much effort to
retrofit the classes such that we can generate a proper 1.0 schema that matches the xsd
(although I did do it for the top level deploymen element).
For 3.0 we need to properly control how these metadata classes evolve.
Anyway, I re-opened the issue.
This work isn't complete until we use it (rather than just testing :-).
Work still to do:
0) Do the same thing to the PolicyMetaData/parsing
1) Get a jbossxb release that includes these schemas in the factory settings
(see the singleton schema resolver bootstrap code)
2) Remove the old SchemaBindingInitializer
3) Co-ordinate with Kabir for the aop parsing and update the Spring parsing.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133172#4133172
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133172
16 years, 7 months
[Design of JBoss jBPM] - Re: Bold Transitions in Workflow-Designer
by kukeltje
I had a quick look out of curiosity and changing the getText() method in org.jbpm.gd.jpdl.part.TransitionOutlineEditPart to
protected String getText() {
|
| String defaultTransitionName = null;
| String transitionName = getTransition().getName();
|
| transitionName = transitionName == null ? "transition" : transitionName;
|
| if (getTransition().getFrom().getLeavingTransitionsList().size() > 1) {
| defaultTransitionName = getTransition().getFrom().getDefaultLeavingTransition().getName();
| defaultTransitionName = defaultTransitionName == null ? "transition" : defaultTransitionName;
| }
|
| if (defaultTransitionName.equals(getTransition().getName())) {
| return transitionName + "\n<default>";
| } else {
| return transitionName;
| }
| }
Might already do something.
(not tested, not even to java correctness)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133147#4133147
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133147
16 years, 7 months