Ignore:
Timestamp:
08/14/10 15:10:12 (22 months ago)
Author:
kasper
Message:

Made it possible to configure jobs using "configurable bean" acting as a prototype for actual executed beans

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AnalyzerBeans/trunk/src/main/java/org/eobjects/analyzer/job/ImmutableTransformerJob.java

    r975 r976  
    99import org.eobjects.analyzer.data.MutableInputColumn; 
    1010import org.eobjects.analyzer.descriptors.TransformerBeanDescriptor; 
     11import org.eobjects.analyzer.util.CollectionUtils; 
    1112 
    1213final class ImmutableTransformerJob implements TransformerJob { 
     
    3738        @Override 
    3839        public InputColumn<?>[] getInput() { 
    39                 return (InputColumn<?>[]) _beanConfiguration.getProperty(_descriptor 
     40                Object property = _beanConfiguration.getProperty(_descriptor 
    4041                                .getConfiguredPropertyForInput()); 
     42                return CollectionUtils.arrayOf(InputColumn.class, property); 
    4143        } 
    4244 
Note: See TracChangeset for help on using the changeset viewer.