org.springframework.osgi.service.importer.support
Class CollectionType

java.lang.Object
  extended by org.springframework.core.enums.AbstractLabeledEnum
      extended by org.springframework.core.enums.StaticLabeledEnum
          extended by org.springframework.osgi.service.importer.support.CollectionType
All Implemented Interfaces:
Serializable, Comparable, LabeledEnum

public class CollectionType
extends StaticLabeledEnum

Enumeration-like class which indicates the supported Spring DM managed OSGi service collection types. This class is used mainly for configuration purposes (such as parsing the OSGi namespace).

Author:
Costin Leau
See Also:
Serialized Form

Field Summary
static CollectionType LIST
          Spring-managed list.
static CollectionType SET
          Spring-managed set.
static CollectionType SORTED_LIST
          Spring-managed sorted list.
static CollectionType SORTED_SET
          Spring-managed sorted Set.
 
Fields inherited from interface org.springframework.core.enums.LabeledEnum
CODE_ORDER, DEFAULT_ORDER, LABEL_ORDER
 
Method Summary
 
Methods inherited from class org.springframework.core.enums.StaticLabeledEnum
getCode, getLabel, readResolve, shortValue
 
Methods inherited from class org.springframework.core.enums.AbstractLabeledEnum
compareTo, equals, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LIST

public static final CollectionType LIST
Spring-managed list. The returned collection with implement the List interface.

See Also:
List

SET

public static final CollectionType SET
Spring-managed set. The returned collection with implement the Set interface.

See Also:
Set

SORTED_LIST

public static final CollectionType SORTED_LIST
Spring-managed sorted list. The returned collection with implement the List interface.

See Also:
Comparable, Comparator, List, SortedSet

SORTED_SET

public static final CollectionType SORTED_SET
Spring-managed sorted Set. The returned collection with implement the SortedSet interface.

See Also:
Comparable, Comparator, SortedSet


Copyright © 2006-2009 Spring Framework. All Rights Reserved.