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

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.ImportContextClassLoader
All Implemented Interfaces:
Serializable, Comparable, LabeledEnum

public class ImportContextClassLoader
extends StaticLabeledEnum

Enum-like class containing the OSGi service importer thread context class loader (TCCL) management options.

Author:
Costin Leau
See Also:
Serialized Form

Field Summary
static ImportContextClassLoader CLIENT
          The TCCL will be set to the service provider upon service invocation.
static ImportContextClassLoader SERVICE_PROVIDER
          The TCCL will be set to the service provider upon service invocation.
static ImportContextClassLoader UNMANAGED
          The TCCL will not be managed upon service invocation.
 
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

UNMANAGED

public static final ImportContextClassLoader UNMANAGED
The TCCL will not be managed upon service invocation.


SERVICE_PROVIDER

public static final ImportContextClassLoader SERVICE_PROVIDER
The TCCL will be set to the service provider upon service invocation.


CLIENT

public static final ImportContextClassLoader CLIENT
The TCCL will be set to the service provider upon service invocation.



Copyright 2006-2008 Spring Framework. All Rights Reserved.