InterfaceDetector
public abstract class AutoExport extends org.springframework.core.enums.StaticLabeledEnum implements InterfaceDetector
OsgiServiceFactoryBean
for registering object as OSGi
services.Modifier and Type | Field and Description |
---|---|
static AutoExport |
ALL_CLASSES
Deprecated.
Export every class, inherited or implemented by the given target.
|
static AutoExport |
CLASS_HIERARCHY
Deprecated.
Export the class hierarchy (all classes inherited by the given target excluding Object.class)
|
static AutoExport |
DISABLED
Deprecated.
Do not export anything
|
static AutoExport |
INTERFACES
Deprecated.
Export all interfaces (and their hierarchy) implemented by the given class
|
Modifier and Type | Method and Description |
---|---|
Class<?>[] |
detect(Class<?> targetClass)
Deprecated.
Detects the 'interfaces' of the given target, suitable for OSGi service export.
|
getCode, getLabel, readResolve, shortValue
public static final AutoExport DISABLED
public static final AutoExport INTERFACES
public static final AutoExport CLASS_HIERARCHY
public static final AutoExport ALL_CLASSES
CLASS_HIERARCHY
+
INTERFACES
public final Class<?>[] detect(Class<?> targetClass)
InterfaceDetector
detect
in interface InterfaceDetector
targetClass
- target classCopyright © 2006–2019. All rights reserved.