public void setManagedEnvironment(boolean managedEnvironment) {
public void setManagedEnvironment(boolean managedEnvironment) throws ResourceException{
    public void setManagedEnvironment(boolean managedEnvironment) {        this.managedEnvironment = managedEnvironment;    }