public enum ExportContextClassLoaderEnum extends Enum<ExportContextClassLoaderEnum>
OsgiServiceFactoryBean
for exported services that depend on certain tccl to be set.ImportContextClassLoaderEnum
Enum Constant and Description |
---|
SERVICE_PROVIDER
The tccl will be set to that of the service provider upon service invocation
|
UNMANAGED
The tccl will not be managed
|
Modifier and Type | Method and Description |
---|---|
static ExportContextClassLoaderEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExportContextClassLoaderEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportContextClassLoaderEnum UNMANAGED
public static final ExportContextClassLoaderEnum SERVICE_PROVIDER
public static ExportContextClassLoaderEnum[] values()
for (ExportContextClassLoaderEnum c : ExportContextClassLoaderEnum.values()) System.out.println(c);
public static ExportContextClassLoaderEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2006–2013. All rights reserved.