Deprecated org.springframework.enums
This commit is contained in:
@@ -40,7 +40,9 @@ import org.springframework.util.ClassUtils;
|
||||
* @author Juergen Hoeller
|
||||
* @since 1.2.2
|
||||
* @see #findLabeledEnums(Class)
|
||||
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class AbstractCachingLabeledEnumResolver implements LabeledEnumResolver {
|
||||
|
||||
protected transient final Log logger = LogFactory.getLog(getClass());
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2006 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -21,6 +21,7 @@ package org.springframework.core.enums;
|
||||
*
|
||||
* @author Keith Donald
|
||||
* @since 1.2.6
|
||||
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
|
||||
*/
|
||||
public abstract class AbstractGenericLabeledEnum extends AbstractLabeledEnum {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2007 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,9 @@ package org.springframework.core.enums;
|
||||
* @author Juergen Hoeller
|
||||
* @author Sam Brannen
|
||||
* @since 1.2.2
|
||||
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class AbstractLabeledEnum implements LabeledEnum {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2006 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -39,7 +39,9 @@ import org.springframework.util.comparator.NullSafeComparator;
|
||||
*
|
||||
* @author Keith Donald
|
||||
* @since 1.2.2
|
||||
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface LabeledEnum extends Comparable, Serializable {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2005 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,7 +25,9 @@ import java.util.Set;
|
||||
* @author Keith Donald
|
||||
* @author Juergen Hoeller
|
||||
* @since 1.2.2
|
||||
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface LabeledEnumResolver {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2005 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,7 +27,9 @@ import org.springframework.util.Assert;
|
||||
*
|
||||
* @author Keith Donald
|
||||
* @since 1.2.2
|
||||
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
|
||||
*/
|
||||
@Deprecated
|
||||
public class LetterCodedLabeledEnum extends AbstractGenericLabeledEnum {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2005 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,7 +25,9 @@ package org.springframework.core.enums;
|
||||
*
|
||||
* @author Keith Donald
|
||||
* @since 1.2.2
|
||||
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
|
||||
*/
|
||||
@Deprecated
|
||||
public class ShortCodedLabeledEnum extends AbstractGenericLabeledEnum {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2006 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -41,7 +41,9 @@ package org.springframework.core.enums;
|
||||
*
|
||||
* @author Keith Donald
|
||||
* @since 1.2.6
|
||||
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class StaticLabeledEnum extends AbstractLabeledEnum {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2008 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -31,7 +31,9 @@ import org.springframework.util.Assert;
|
||||
* @author Keith Donald
|
||||
* @author Juergen Hoeller
|
||||
* @since 1.2.2
|
||||
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
|
||||
*/
|
||||
@Deprecated
|
||||
public class StaticLabeledEnumResolver extends AbstractCachingLabeledEnumResolver {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2007 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -29,7 +29,9 @@ import org.springframework.util.Assert;
|
||||
* @author Juergen Hoeller
|
||||
* @since 1.2.2
|
||||
* @see org.springframework.core.enums.LabeledEnumResolver#getLabeledEnumSet(Class)
|
||||
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
|
||||
*/
|
||||
@Deprecated
|
||||
public class StringCodedLabeledEnum extends AbstractGenericLabeledEnum {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user