@martinh,
what is the problem you are trying to solve?
in Spring Batch, for example, that is what "late binding" is used for:
Code:
<bean id="flatFileItemReader" scope="step"
class="org.springframework.batch.item.file.FlatFileItemReader">
<property name="resource" value="#{jobParameters['input.file.name']}" />
</bean>
So the job is started with parameters that can be used at run time. Notice that the reader is step scoped, and only created per new step / for duration of that step.
/Anatoly
Humans are stateful and mutable beings that have no problems processing many things concurrently and share state with others + they are usually "coupled"