public void doSelectionChanged()
{
try
{
final String selectedConfig = (String) comboBox.getSelectedItem();
final NamingConfig config = (NamingConfig) namingConfigsByName.get(selectedConfig);
final PropertySetConfig propertySet = config.getProperties();
if (currentSelection == null || !currentSelection.equals(selectedConfig))
{
currentSelection = selectedConfig;
bean = new JNDIContextFactory();
LoaderSupport.populateBean(bean, propertySet);
final Map properties = PropertyUtils.describe(bean);
final List list = new ArrayList();
classpathIdProperty = new Property("loader", "Classpath Loader to use.", String.class)
{
/**
*
*/
private static final long serialVersionUID = -3071689960943636606L;
private String classpathId = config.getClasspathId();
public void setValue(Object value)
{
classpathId = value.toString();
}