/** If the name is set, the bean will get deployed */ @Override public void setJndiName(String name) { super.setJndiName(name); setDeploy(true); }