[Index]

bean-bus


A job that allows the construction of a org.oddjob.beanbus.BeanBus.

A Bean Bus is an assembly of java.util.Collections.


Property Summary

busConductor  
name A name, can be any text.
noAutoLink  
parts  
services  
stop Read only view of the internal stop flag.

Example Summary

Example 1 A simple bus example.

Property Detail

busConductor

Configured ByELEMENT
AccessREAD_WRITE

name

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo.

A name, can be any text.

noAutoLink

Configured ByATTRIBUTE
AccessREAD_WRITE

parts

Configured ByELEMENT
AccessWRITE_ONLY

services

AccessREAD_ONLY

stop

AccessREAD_ONLY
RequiredRead only.

Read only view of the internal stop flag. This flag is cleared with a reset.


Examples

Example 1

A simple bus example.

<oddjob>
    <job>
        <bean class="org.oddjob.beanbus.mega.MegaBeanBus" id="bus">
            <parts>
                <bus:iterable-driver xmlns:bus="oddjob:beanbus">
                    <beans>
                        <list>
                            <values>
                                <value value="Apple"/>
                                <value value="Orange"/>
                                <value value="Pear"/>
                            </values>
                        </list>
                    </beans>
                </bus:iterable-driver>
                <bus:bean-capture id="list" xmlns:bus="oddjob:beanbus"/>
            </parts>
        </bean>
    </job>
</oddjob>


(c) Rob Gordon 2005 - 2017