/** * Reads the configuration for the configured {@link #getProperty()} from * the properties of the parsed {@link ServiceReference}.<p> * This implementation supports * <code>null</code> (sets the default), <code>String[]</code>, * <code>Collections<?></code> (Object{@link #toString() toString()} is called * on members) and comma separated {@link String}. * @param ref the SerivceRefernece * @throws ConfigurationException */ public void setConfiguration(ServiceReference ref) throws ConfigurationException { processConfiguration(ref.getProperty(property)); }
/** * Reads the config for the configured {@link #getProperty() property} * from the parsed configuration. <p> * This implementation supports * <code>null</code> (sets the default), <code>String[]</code>, * <code>Collections<?></code> (Object{@link #toString() toString()} is called * on members) and comma separated {@link String}. * @param configuration the configuration */ public void setConfiguration(Dictionary<?,?> configuration) throws ConfigurationException { processConfiguration(configuration.get(property)); } /**
/** * Reads the configuration for the configured {@link #getProperty()} from * the properties of the parsed {@link ServiceReference}.<p> * This implementation supports * <code>null</code> (sets the default), <code>String[]</code>, * <code>Collections<?></code> (Object{@link #toString() toString()} is called * on members) and comma separated {@link String}. * @param ref the SerivceRefernece * @throws ConfigurationException */ public void setConfiguration(ServiceReference ref) throws ConfigurationException { processConfiguration(ref.getProperty(property)); }
/** * Reads the config for the configured {@link #getProperty() property} * from the parsed configuration. <p> * This implementation supports * <code>null</code> (sets the default), <code>String[]</code>, * <code>Collections<?></code> (Object{@link #toString() toString()} is called * on members) and comma separated {@link String}. * @param configuration the configuration */ public void setConfiguration(Dictionary<?,?> configuration) throws ConfigurationException { processConfiguration(configuration.get(property)); } /**