public enum ImportContextClassLoaderEnum extends Enum<ImportContextClassLoaderEnum>
OsgiServiceProxyFactoryBean
and OsgiServiceCollectionProxyFactoryBean
for imported services
that depend on a certain tccl to be set.ExportContextClassLoaderEnum
Enum Constant and Description |
---|
CLIENT
The tccl will be set to that of the client upon service invocation
|
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 ImportContextClassLoaderEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportContextClassLoaderEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportContextClassLoaderEnum UNMANAGED
public static final ImportContextClassLoaderEnum SERVICE_PROVIDER
public static final ImportContextClassLoaderEnum CLIENT
public static ImportContextClassLoaderEnum[] values()
for (ImportContextClassLoaderEnum c : ImportContextClassLoaderEnum.values()) System.out.println(c);
public static ImportContextClassLoaderEnum 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–2015. All rights reserved.