(String) value) ;
}
@Override
public PropertyEditor getPropertyEditor() {
return new GeronimoPasswordEditor() ;
}
};
properties.put(property) ;
property = new PropertySupport.ReadWrite(
PASSWORD,
String.class,
NbBundle.getMessage(GeronimoManagerNode.class,
"PROP_serverRoot"),
NbBundle.getMessage(GeronimoManagerNode.class,
"HINT_serverRoot")) {
@Override
public Object getValue() throws IllegalAccessException, InvocationTargetException {
return deploymentManager.getInstanceProperties().
getProperty(
GeronimoDeploymentFactory.SERVER_ROOT_ATTR) ;
}
@Override
public void setValue(Object value) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
deploymentManager.getInstanceProperties().
setProperty(
GeronimoDeploymentFactory.SERVER_ROOT_ATTR,
(String) value) ;
}
@Override
public PropertyEditor getPropertyEditor() {
return new GeronimoPasswordEditor() ;
}
};
properties.put(property) ;
return sheet ;