*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.ConfigurableApplicationContext;
- ApplicationContextAware, InitializingBean {
+ ApplicationContextAware, InitializingBean, Serializable {
+ private static final long serialVersionUID = 5159882223926926539L;
private String description;
private Map<String, ExecutionSpecAttribute> attributes = new HashMap<String, ExecutionSpecAttribute>();
private String description;
private Map<String, ExecutionSpecAttribute> attributes = new HashMap<String, ExecutionSpecAttribute>();
protected List<RefValueChoice> buildRefValueChoices(RefSpecAttribute rsa) {
List<RefValueChoice> choices = new ArrayList<RefValueChoice>();
if (applicationContext == null) {
protected List<RefValueChoice> buildRefValueChoices(RefSpecAttribute rsa) {
List<RefValueChoice> choices = new ArrayList<RefValueChoice>();
if (applicationContext == null) {
for (String beanName : getBeanFactory().getBeanNamesForType(
rsa.getTargetClass(), true, false)) {
for (String beanName : getBeanFactory().getBeanNamesForType(
rsa.getTargetClass(), true, false)) {
BeanDefinition bd = getBeanFactory().getBeanDefinition(beanName);
RefValueChoice choice = new RefValueChoice();
choice.setName(beanName);
BeanDefinition bd = getBeanFactory().getBeanDefinition(beanName);
RefValueChoice choice = new RefValueChoice();
choice.setName(beanName);