public void setAggregateListeners(AggregateListener[] listeners) { aggregateListenerPlugins.set(listeners); }
public void setFilterListeners(FilterListener[] listeners) { filterListenerPlugins.set(listeners); }
public void setAggregateListeners(AggregateListener[] listeners) { aggregateListenerPlugins.set(listeners); }
public void setFilterListeners(FilterListener[] listeners) { filterListenerPlugins.set(listeners); }
public void setFilterListeners(FilterListener[] listeners) { filterListenerPlugins.set(listeners); }
public void setFilterListeners(FilterListener[] listeners) { filterListenerPlugins.set(listeners); }
public void setAggregateListeners(AggregateListener[] listeners) { aggregateListenerPlugins.set(listeners); }
public void setAggregateListeners(AggregateListener[] listeners) { aggregateListenerPlugins.set(listeners); }
public void setAggregateListeners(AggregateListener[] listeners) { aggregateListenerPlugins.set(listeners); }
public void setFilterListeners(FilterListener[] listeners) { filterListenerPlugins.set(listeners); }
/** * The plugin class names. */ public void setClassNames(String[] names) { if (names == null) names = EMPTY; _names = names; set(null, true); valueChanged(); }
/** * The plugin class names. */ public void setClassNames(String[] names) { if (names == null) names = EMPTY; _names = names; set(null, true); valueChanged(); }
/** * The plugin properties. */ public void setProperties(String[] props) { if (props == null) props = EMPTY; _props = props; set(null, true); valueChanged(); }
/** * The plugin class names. */ public void setClassNames(String[] names) { if (names == null) names = EMPTY; _names = names; set(null, true); valueChanged(); }
/** * The plugin class names. */ public void setClassNames(String[] names) { if (names == null) names = EMPTY; _names = names; set(null, true); valueChanged(); }
/** * The plugin properties. */ public void setProperties(String[] props) { if (props == null) props = EMPTY; _props = props; set(null, true); valueChanged(); }
/** * The plugin properties. */ public void setProperties(String[] props) { if (props == null) props = EMPTY; _props = props; set(null, true); valueChanged(); }
/** * The plugin properties. */ public void setProperties(String[] props) { if (props == null) props = EMPTY; _props = props; set(null, true); valueChanged(); }
/** * Instantiate the plugins as instances of the given class. */ public Object instantiate(Class<?> elemType, Configuration conf, boolean fatal) { Object[] ret; if (_names.length == 0) ret = (Object[]) Array.newInstance(elemType, 0); else { ret = (Object[]) Array.newInstance(elemType, _names.length); for (int i = 0; i < ret.length; i++) { ret[i] = newInstance(_names[i], elemType, conf, fatal); Configurations.configureInstance(ret[i], conf, _props[i], getProperty()); } } set(ret, true); return ret; }
/** * Instantiate the plugins as instances of the given class. */ public Object instantiate(Class<?> elemType, Configuration conf, boolean fatal) { Object[] ret; if (_names.length == 0) ret = (Object[]) Array.newInstance(elemType, 0); else { ret = (Object[]) Array.newInstance(elemType, _names.length); for (int i = 0; i < ret.length; i++) { ret[i] = newInstance(_names[i], elemType, conf, fatal); Configurations.configureInstance(ret[i], conf, _props[i], getProperty()); } } set(ret, true); return ret; }