Class Overview
Helper class that implements low-level Plexus configuration of composite beans.
 
Summary
| Public Methods | 
|---|
	 
    
        | void | setDefault(Object bean, Object defaultValue, PlexusConfiguration configuration) Calls the default "set" method on the bean; re-converts the configuration if necessary. | 
	 
    
        | void | setProperty(Object bean, String propertyName, Class<?> valueType, PlexusConfiguration configuration) Sets a property in the bean; looks for public setter/adder method before checking fields. | 
| [Expand] Inherited Methods | 
|---|
|  From class
  java.lang.Object 
  
   
    
    
	 
    
        | Object | clone() |  
        | boolean | equals(Object arg0) |  
        | void | finalize() |  
        | final
            
            
            Class<?> | getClass() |  
        | int | hashCode() |  
        | final
            
            
            void | notify() |  
        | final
            
            
            void | notifyAll() |  
        | String | toString() |  
        | final
            
            
            void | wait() |  
        | final
            
            
            void | wait(long arg0, int arg1) |  
        | final
            
            
            void | wait(long arg0) |  | 
 
Public Constructors
 
    
      
        public 
         
         
         
         
        
      
      CompositeBeanHelper
      (ConverterLookup lookup, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener)
    
      
    
 
Public Methods
 
    
      
        public 
         
         
         
         
        void
      
      setDefault
      (Object bean, Object defaultValue, PlexusConfiguration configuration)
    
      
    
      
  Calls the default "set" method on the bean; re-converts the configuration if necessary.
      Parameters
      
        
          | bean | The bean being configured | 
        
          | defaultValue | The default value | 
        
          | configuration | The configuration | 
      
   
  
      Throws
        
        
            | ComponentConfigurationException |  | 
      
   
     
 
 
    
      
        public 
         
         
         
         
        void
      
      setProperty
      (Object bean, String propertyName, Class<?> valueType, PlexusConfiguration configuration)
    
      
    
      
  Sets a property in the bean; looks for public setter/adder method before checking fields.
      Parameters
      
        
          | bean | The bean being configured | 
        
          | propertyName | The property name | 
        
          | valueType | The value type | 
        
          | configuration | The configuration | 
      
   
  
      Throws
        
        
            | ComponentConfigurationException |  |