public class Configurables extends Object
Configurables.| Constructor and Description | 
|---|
| Configurables() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | configure(Object target,
         ComponentConfiguration conf) | 
| static boolean | configure(Object target,
         Context context)Check that  targetimplementsConfigurableand, if so, ask
 it to configure itself using the suppliedcontext. | 
| static void | ensureOptionalNonNull(Context context,
                     String... keys) | 
| static void | ensureRequiredNonNull(Context context,
                     String... keys) | 
public static boolean configure(Object target, Context context)
target implements Configurable and, if so, ask
 it to configure itself using the supplied context.target - An object that potentially implements Configurable.context - The configuration contexttarget implements Configurable, false otherwise.public static boolean configure(Object target, ComponentConfiguration conf)
Copyright © 2009-2017 Apache Software Foundation. All Rights Reserved.